www.pudn.com > smssend-vc.rar > csmsdocument.h


/* Copyright (c) 2003, Nokia. All rights reserved */ 
 
#ifndef __CSMSDOCUMENT_H__ 
#define __CSMSDOCUMENT_H__ 
 
// INCLUDES 
#include  
 
// FORWARD DECLARATIONS 
class  CEikAppUi; 
 
// CLASS DECLARATION 
/** 
*  CSmsDocument document class. 
*/ 
class CSmsDocument : public CAknDocument 
    { 
    public: // Constructors and destructor 
 
        /** 
        * NewL. 
        * Two-phased constructor. 
        * @param aApp Application creating this document. 
        * @return A pointer to the created instance of CSmsDocument. 
        */ 
        static CSmsDocument* NewL( CEikApplication& aApp ); 
 
        /** 
        * ~CSmsDocument. 
        * Destructor. 
        */ 
        virtual ~CSmsDocument(); 
 
    private: // Constructors 
 
        /** 
        * CSmsDocument. 
        * C++ default constructor. 
        * @param aApp Application creating this document. 
        */ 
        CSmsDocument( CEikApplication& aApp ); 
 
        /** 
        * ConstructL. 
        * 2nd phase constructor. 
        */ 
        void ConstructL(); 
 
    private: // Functions from base classes 
 
        /** 
        * From CEikDocument, CreateAppUiL. 
        * Create a CSmsAppUi object and return a pointer to it. 
        * The object returned is owned by the Uikon framework. 
        * @return Pointer to created instance of AppUi. 
        */ 
        CEikAppUi* CreateAppUiL(); 
    }; 
 
#endif  // __CSMSDOCUMENT_H__ 
 
// End of File