examples/Base/DLLs/UsingDLLs/UsingDLLs.h

00001 // Copyright (c) 2000-2009 Nokia Corporation and/or its subsidiary(-ies).
00002 // All rights reserved.
00003 // This component and the accompanying materials are made available
00004 // under the terms of "Eclipse Public License v1.0"
00005 // which accompanies this distribution, and is available
00006 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
00007 //
00008 // Initial Contributors:
00009 // Nokia Corporation - initial contribution.
00010 //
00011 // Contributors:
00012 //
00013 // Description:
00014 // A program which uses dynamically linked DLLs.
00015 //
00016 
00017         // standard example header
00018 #include <e32cons.h>
00019 
00020 #ifndef __UsingDLLs_H
00021 #define __UsingDLLs_H
00022 
00023         // The UID for Messenger DLLs.
00024         // The client imposes this on DLLs which are required
00025         // to satisfy the protocol 
00026 
00027 const TInt KMessengerUidValue=0x10004262;
00028 const TUid KMessengerUid={KMessengerUidValue};
00029 
00030 class CMessenger : public CBase
00031         {
00032 public:
00033         virtual void ConstructL(CConsoleBase* aConsole, const TDesC& aName)=0;
00034         virtual void ShowMessage()=0;
00035 protected:
00036         CConsoleBase* iConsole;
00037         HBufC*        iName;
00038         };
00039 
00040 #endif

Generated by  doxygen 1.6.2