networkcontrol/commsuserpromptmgr/database/inc/netupsdatabaseentry.h
changeset 0 af10295192d8
equal deleted inserted replaced
-1:000000000000 0:af10295192d8
       
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // upsdatabaseentry.h
       
    15 // This file provides the specification for the database entry.
       
    16 // @internalComponent
       
    17 // @prototype
       
    18 // 
       
    19 //
       
    20 
       
    21 #ifndef NETUPSDATABASEENTRY_H
       
    22 #define NETUPSDATABASEENTRY_H
       
    23 
       
    24 #include <e32base.h>								// defines CBase
       
    25 
       
    26 #include <comms-infras/commsdebugutility.h> 		// defines the comms debug logging utility
       
    27 
       
    28 namespace NetUps
       
    29 {
       
    30 class CProcessEntry;
       
    31 NONSHARABLE_CLASS(CDatabaseEntry) : public CBase
       
    32 	{
       
    33 public:
       
    34 	static CDatabaseEntry* NewL(TInt32 aServiceId);
       
    35 	virtual ~CDatabaseEntry();
       
    36 
       
    37 	TInt32 ServiceId();
       
    38 	RPointerArray<CProcessEntry>& ProcessEntry(void);
       
    39 protected: // class may be specialised by NetUps clients if required
       
    40 	CDatabaseEntry(TInt32 aServiceId);
       
    41 private:
       
    42 	void ConstructL();
       
    43 protected:
       
    44 	RPointerArray<CProcessEntry> 	iProcessEntry;
       
    45 	TInt32							iServiceId;
       
    46 private:
       
    47 	__FLOG_DECLARATION_MEMBER;		
       
    48 	};
       
    49 } // end of namespace
       
    50 
       
    51 #endif // NETUPSDATABASEENTRY_H