Chapter 19. Save and Restore

In this chapter

  • File Format Strategy

  • Save and Restore Program Hooks

  • Common-Object Save and Restore

  • Object-Specific Save and Restore

  • Next Steps

The ability for users to continue their work in subsequent sessions of the Graphics Editor marks it as a mature and professional-level application.

Borrowing from the discussion of Binary, ASCII, and ASCII-tagged file formats of Chapter 18,"File Formats," the following sections satisfy the requirement of saving and restoring the graphics objects created by the Graphics Editor.

This chapter introduces a file format strategy and shows how the common and specific data elements of the editor objects will easily comply.

File Format Strategy

Familiar with the concepts of formatting application ...

Get X Window Programming from Scratch now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.