www.pudn.com > S60_Platform_Bluetooth_OBEX_Example.rar > btobjectexchangedocument.h
/* Copyright (c) 2004, Nokia. All rights reserved */ #ifndef __BTOBJECTEXCHANGE_DOCUMENT_H__ #define __BTOBJECTEXCHANGE_DOCUMENT_H__ // INCLUDES #include// FORWARD DECLARATIONS class CBTObjectExchangeAppUi; class CEikApplication; /** * CBTObjectExchangeDocument * An instance of class CBTObjectExchangeDocument is the Document part of * the AVKON application framework for the BTObjectExchange example application. */ class CBTObjectExchangeDocument : public CAknDocument { public: // Constructors and destructor /** * NewL() * Construct a CBTObjectExchangeDocument for the AVKON application * aApp using two phase construction, and return * a pointer to the created object * @param aApp application creating this document * @return a pointer to the created instance of * CBTObjectExchangeDocument */ static CBTObjectExchangeDocument* NewL( CEikApplication& aApp ); /** * NewLC() * Construct a CBTObjectExchangeDocument for * the AVKON application aApp using two phase construction, * and return a pointer to the created object * @param aApp application creating this document * @return a pointer to the created instance of * CBTObjectExchangeDocument */ static CBTObjectExchangeDocument* NewLC( CEikApplication& aApp ); /** * ~CBTObjectExchangeDocument() * Destroy the object and release all memory objects */ virtual ~CBTObjectExchangeDocument(); public: // from CEikDocument /** * CreateAppUiL() * Create a CBTObjectExchangeAppUi object and return a pointer to it * @return a pointer to the created instance of the AppUi created */ CEikAppUi* CreateAppUiL(); private: // Constructors /** * ConstructL() * Perform the second phase construction of a * CBTObjectExchangeDocument object */ void ConstructL(); /** * CBTObjectExchangeDocument() * Perform the first phase of two phase construction * @param aApp application creating this document */ CBTObjectExchangeDocument( CEikApplication& aApp ); }; #endif // __BTOBJECTEXCHANGE_DOCUMENT_H__ // End of File