examples/ForumNokia/S60_3rd_Edition_TextMTM_Example/modules/Viewer/inc/TxtViewerServiceSession.h

00001 /*
00002 * ============================================================================
00003 *  Name     : CTxtViewerService 
00004 *
00005 *  Description:
00006 *     Server-side message editor/viewer service
00007 *
00008 *  Version:
00009 *
00010 *  Copyright (C) 2004 Nokia Corporation.
00011 *  This material, including documentation and any related 
00012 *  computer programs, is protected by copyright controlled by 
00013 *  Nokia Corporation. All rights are reserved. Copying, 
00014 *  including reproducing, storing,  adapting or translating, any 
00015 *  or all of this material requires the prior written consent of 
00016 *  Nokia Corporation. This material also contains confidential 
00017 *  information which may not be disclosed to others without the 
00018 *  prior written consent of Nokia Corporation.
00019 *
00020 * ============================================================================
00021 */
00022 
00023 #ifndef TXTEDITORSERVICESESSION_H
00024 #define TXTEDITORSERVICESESSION_H
00025 
00026 #include <f32file.h>
00027 #include <eikdoc.h>
00028 #include <AknServerApp.h>
00029 
00030 
00031 enum TTxtViewerServiceCmds
00032         {
00033         ETxtViewerServiceCmdOpen = RApaAppServiceBase::KServiceCmdBase
00034         };
00035 
00036 class CTxtViewerServiceSession : public CAknAppServiceBase
00037         {
00038         public:
00042                 IMPORT_C CTxtViewerServiceSession();
00043                 
00047                 ~CTxtViewerServiceSession();
00048 
00049         protected: // from CSession2
00053                 void CreateL();
00054                 
00055                 void ServiceL(const RMessage2& aMessage);
00056                 
00060                 void ServiceError(const RMessage2& aMessage,TInt aError);
00061 
00062         private:
00067                 void OpenL( const RMessage2& aMessage );
00068 
00069         private:
00070                 CEikDocument* iDoc;
00071         };
00072 
00073 #endif

Generated by  doxygen 1.6.2