java_stubs/javaregistry/clientserver/client/src/javaregistryapplicationentry.cpp
branchRCL_3
changeset 8 014f8c42e1d4
parent 0 3fd91c96c86c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/java_stubs/javaregistry/clientserver/client/src/javaregistryapplicationentry.cpp	Mon Feb 22 17:55:27 2010 +0200
@@ -0,0 +1,88 @@
+/*
+* Copyright (c) 2005-2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:  javaregistryapplicationentry implementation
+*
+*/
+
+
+#include "javaregistrypackageentry.h"
+#include "javaregistryapplicationentry.h"
+#include "writeablejavaregistryapplicationentry.h"
+
+using namespace Java;
+using namespace Java::Manager::Registry;
+
+// ============================ MEMBER FUNCTIONS ==============================
+
+// ---------------------------------------------------------------------------
+// CJavaRegistryApplicationEntry::CJavaRegistryApplicationEntry
+// ---------------------------------------------------------------------------
+//
+CJavaRegistryApplicationEntry::CJavaRegistryApplicationEntry
+(CWriteableJavaRegistryApplicationEntry* aWritableEntry) :
+        CJavaRegistryEntry(aWritableEntry)
+{
+}
+
+
+// ---------------------------------------------------------------------------
+// CJavaRegistryApplicationEntry::IsStartable
+// ---------------------------------------------------------------------------
+//
+EXPORT_C TBool CJavaRegistryApplicationEntry::IsStartable() const
+{
+    return ETrue;
+}
+
+
+// ---------------------------------------------------------------------------
+// CJavaRegistryApplicationEntry::IsVisible
+// ---------------------------------------------------------------------------
+//
+EXPORT_C TBool CJavaRegistryApplicationEntry::IsVisible() const
+{
+    return ETrue;
+}
+
+
+// ---------------------------------------------------------------------------
+// CJavaRegistryApplicationEntry::IsResident
+// ---------------------------------------------------------------------------
+//
+EXPORT_C TBool CJavaRegistryApplicationEntry::IsResident() const
+{
+    return EFalse;
+}
+
+
+// ---------------------------------------------------------------------------
+// CJavaRegistryApplicationEntry::GroupName
+// ---------------------------------------------------------------------------
+//
+EXPORT_C const TDesC& CJavaRegistryApplicationEntry::GroupName() const
+{
+    return KNullDesC;
+}
+
+
+// ---------------------------------------------------------------------------
+// CJavaRegistryApplicationEntry::PackageEntryL
+// ---------------------------------------------------------------------------
+//
+EXPORT_C CJavaRegistryPackageEntry* CJavaRegistryApplicationEntry::
+PackageEntryL() const
+{
+    User::Leave(KErrNotSupported);
+    return NULL;
+}