diff options
Diffstat (limited to 'SrcUnix/EmDocumentUnix.h')
-rw-r--r-- | SrcUnix/EmDocumentUnix.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/SrcUnix/EmDocumentUnix.h b/SrcUnix/EmDocumentUnix.h new file mode 100644 index 0000000..ee5a08f --- /dev/null +++ b/SrcUnix/EmDocumentUnix.h @@ -0,0 +1,40 @@ +/* -*- mode: C++; tab-width: 4 -*- */ +/* ===================================================================== *\ + Copyright (c) 1998-2001 Palm, Inc. or its subsidiaries. + All rights reserved. + + This file is part of the Palm OS Emulator. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. +\* ===================================================================== */ + +#ifndef EmDocumentUnix_h +#define EmDocumentUnix_h + +#include "EmDocument.h" + +/* + EmDocumentUnix is a Unix-specific sub-class of EmDocument. It is + responsible for translating platform-specific document-related + actions into cross-platform actions, making use of the the cross- + platform EmDocument implementations. +*/ + +class EmDocumentUnix : public EmDocument +{ + public: + EmDocumentUnix (void); + virtual ~EmDocumentUnix (void); + + public: + // I'd like these to be private, but at least one part of Poser + // needs access to HostSaveScreen. + virtual void HostSaveScreen (const EmFileRef&); +}; + +extern EmDocumentUnix* gHostDocument; + +#endif // EmDocumentUnix_h |