epoc32/include/mw/mmfropcustomcommandconstants.h
branchSymbian2
changeset 2 2fe1408b6811
parent 1 666f914201fb
child 4 837f303aceeb
--- a/epoc32/include/mw/mmfropcustomcommandconstants.h	Tue Nov 24 13:55:44 2009 +0000
+++ b/epoc32/include/mw/mmfropcustomcommandconstants.h	Tue Mar 16 16:12:26 2010 +0000
@@ -1,1 +1,63 @@
-mmfropcustomcommandconstants.h
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* 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
+* which accompanies this distribution, and is available
+* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Constants defined for Coustom Commands
+*
+*/
+
+#ifndef __MMFROPCUSTOMCOMMANDCONSTANTS_H
+#define __MMFROPCUSTOMCOMMANDCONSTANTS_H
+#include <e32std.h>
+/**
+ * @publishedAll
+ *
+ * Interface UID and messages for the ROP Controller API.
+ */
+const TUid KUidInterfaceMMFROPController = {0x101F855D};
+/**
+ *  Function constants
+ */
+enum TMMFROPControllerMessage
+{
+    EMMFROPControllerGetApplicationConfig,
+    EMMFROPControllerSetApplicationConfig,
+    EMMFROPControllerGetErrorLog,
+    EMMFROPControllerClearErrorLog,
+
+    EMMFROPControllerSetDownloadID,
+
+    EMMFROPControllerSetDownloadComplete,
+    EMMFROPControllerSetDownloadSize
+};
+/**
+ *  Constants describing the config version to query
+ */
+enum TMMFROPControllerConfigVersion
+{
+    KMMFAudioVideoConfigDefault,   // Configuration created on installation
+    KMMFAudioVideoConfigOperator,  // Configuration created on operator setup
+    KMMFAudioVideoConfigUser       // Last Configuration saved by the application
+};
+/**
+ *  Constants describing ErrorLog error classes.
+ *  XXX  This enumeration must match the EErrorLogClass enumeration located
+ *  XXX  in errorlog_sink.h.
+ */
+enum TMMFROPErrorLogClass
+{
+    KMMFROPErrorLogRTSP,           // RTSP error (must be first enum)
+    KMMFROPErrorLogSendEvents,     // Error Send Events
+    KMMFROPErrorLogECXlat,         // Error code translation.
+    KMMFROPErrorLogNumClasses      // Number of error log classes (not a class)
+};
+#endif __MMFROPCUSTOMCOMMANDCONSTANTS_H