rdrmhelper.h

Go to the documentation of this file.
00001 /*
00002 * ==============================================================================
00003 *  Name        : RDRMHelper.h
00004 *  Part of     : DRMHelper
00005 *  Interface   : 
00006 *  Description : the client side class for DRMHelperServer
00007 *
00008 *  Copyright (c) 2004 Nokia Corporation.
00009 *  This material, including documentation and any related 
00010 *  computer programs, is protected by copyright controlled by 
00011 *  Nokia Corporation. All rights are reserved. Copying, 
00012 *  including reproducing, storing, adapting or translating, any 
00013 *  or all of this material requires the prior written consent of 
00014 *  Nokia Corporation. This material also contains confidential 
00015 *  information which may not be disclosed to others without the 
00016 *  prior written consent of Nokia Corporation.
00017 * ==============================================================================
00018 */
00019 
00020 #ifndef RDRMHELPER_H
00021 #define RDRMHELPER_H
00022 
00023 // INCLUDES
00024 #include <e32base.h>
00025 
00026 // DATA TYPES
00027 
00028 // FORWARD DECLARATIONS
00029 
00030 // CLASS DECLARATION
00031 
00032 
00033 
00034 
00041 class RDRMHelper : public RSessionBase
00042     {
00043     public:  // Constructors and destructor
00044 
00048             RDRMHelper();
00049 
00050     public:  // New functions
00051       
00056             TInt Connect();
00057 
00062             TVersion Version() const;
00063 
00072         TInt SetAutomated( 
00073             const TDesC8& aUri, 
00074             TBool aActive, 
00075             TInt aAutomatedType, 
00076             TInt aIntent ) const;
00077 
00086         TInt RemoveAutomated( 
00087             const TDesC8& aUri, 
00088             TBool aActive, 
00089             TInt aAutomatedType, 
00090             TInt aIntent ) const;
00091 
00100         TInt RemoveAutomatedAll( 
00101             const TDesC8& aUri, 
00102             TBool aActive, 
00103             TInt aAutomatedType, 
00104             TInt aIntent ) const;
00105 
00110         TInt IndicateIdle() const;       
00111 
00119         TInt IsAutomated( 
00120             const TDesC8& aUri,
00121             TInt aAutomatedType, 
00122             TInt aIntent, 
00123             TBool& aAutomated, 
00124             TInt& aType ) const;       
00125 
00126     private:
00127         
00128         TInt StartServer();
00129         TInt CreateServerProcess();
00130     };
00131 
00132 
00133 
00134 // DRMHELPERCLIENT_H   
00135 #endif
00136             
00137 // End of File

Copyright © Nokia Corporation 2001-2008
Back to top