messagingfw/biomsgfw/BIUTINC/REGPSDLL.H
changeset 58 6c34d0baa0b1
parent 0 8e480a14352b
equal deleted inserted replaced
55:6f4453afd006 58:6c34d0baa0b1
    50 public:
    50 public:
    51     IMPORT_C static CRegisteredParserDll* NewL(TDesC& aParserName);
    51     IMPORT_C static CRegisteredParserDll* NewL(TDesC& aParserName);
    52 
    52 
    53     IMPORT_C ~CRegisteredParserDll();
    53     IMPORT_C ~CRegisteredParserDll();
    54 
    54 
    55 	inline TInt DllRefCount() const;
    55 		inline TInt DllRefCount() const{return iDllRefCount;};
    56 	inline TUidType UidType() const;
    56 		inline TUidType UidType() const {return iUidType;};
    57 	inline void SetUidType(const TUidType& aUidType);
    57 		inline void SetUidType(const TUidType& aUidType){iUidType= aUidType;};
    58 
    58 
    59 	IMPORT_C TInt GetLibrary(RFs& aFs,RLibrary& aDllLibrary);   // Increments reference count if successful or returns error 
    59 	IMPORT_C TInt GetLibrary(RFs& aFs,RLibrary& aDllLibrary);   // Increments reference count if successful or returns error 
    60 	IMPORT_C void ReleaseLibrary();                                   // Decrements access count
    60 	IMPORT_C void ReleaseLibrary();                                   // Decrements access count
    61 	                                                                  // Should be called from destructor of any objects created from the library 
    61 	                                                                  // Should be called from destructor of any objects created from the library 
    62 private:
    62 private:
    73 	TInt iDllRefCount;
    73 	TInt iDllRefCount;
    74 
    74 
    75     void RunL();
    75     void RunL();
    76     enum { KReleaseLibraryTimeout = 30000000 };
    76     enum { KReleaseLibraryTimeout = 30000000 };
    77 	};
    77 	};
    78 
       
    79 #include <regpsdll.inl>
       
    80 #endif
    78 #endif