2 * Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: the client side class for DRMHelperServer
27 // FORWARD DECLARATIONS
35 * This class provides the client-side interface to the server session
37 * @since Series 60 2.6
40 class RDRMHelper : public RSessionBase
42 public: // Constructors and destructor
45 * C++ default constructor.
49 public: // New functions
53 * @return System-wide error code
58 * Gets the version number
59 * @return version number
61 TVersion Version() const;
64 * Register the given content uri as an automated content.
65 * @param aUri: content URI
66 * @param aActive: active or passive registration
67 * @param aAutomatedType: type of automated content
68 * @param aIntent: intent how content is used
69 * @return System-wide error code
78 * Unregister the given content.
79 * @param aUri: content URI
80 * @param aActive: active or passive registration
81 * @param aAutomatedType: type of automated content
82 * @param aIntent: intent how content is used
83 * @return System-wide error code
92 * Unregister all instances of the given content.
93 * @param aUri: content URI
94 * @param aActive: active or passive registration
95 * @param aAutomatedType: type of automated content
96 * @param aIntent: intent how content is used
97 * @return System-wide error code
99 TInt RemoveAutomatedAll(
103 TInt aIntent ) const;
106 * Indicate that idle-screen has been activated.
107 * @return System-wide error code
109 TInt IndicateIdle() const;
112 * Has given content been registered as automated content.
113 * @param aUri content URI of the content
114 * @param aAutomated (out) ETrue if registered as automated.
115 * @param aType (out) Tells whether content has been registered as active or passive.
116 * @return System-wide error code
128 TInt CreateServerProcess();
133 #endif // DRMHELPERCLIENT_H