--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/data/testpublisher/src/testpublisherapplication.cpp Wed Jun 02 13:22:05 2010 +0300
@@ -0,0 +1,49 @@
+/*
+* Copyright (c) {Year(s)} {Copyright owner}.
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of the "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
+*
+* Initial Contributors:
+* {Name} {Company} ? Initial contribution
+*
+* Contributors:
+* {Name} {Company} ? {{Description of contribution}}
+*
+* Description:
+* {{Description of the file}}
+*
+*/
+
+// INCLUDE FILES
+#include "TestPublisher.hrh"
+#include "TestPublisherDocument.h"
+#include "TestPublisherApplication.h"
+
+// ============================ MEMBER FUNCTIONS ===============================
+
+// -----------------------------------------------------------------------------
+// CTestPublisherApplication::CreateDocumentL()
+// Creates CApaDocument object
+// -----------------------------------------------------------------------------
+//
+CApaDocument* CTestPublisherApplication::CreateDocumentL()
+ {
+ // Create an TestPublisher document, and return a pointer to it
+ return CTestPublisherDocument::NewL(*this);
+ }
+
+// -----------------------------------------------------------------------------
+// CTestPublisherApplication::AppDllUid()
+// Returns application UID
+// -----------------------------------------------------------------------------
+//
+TUid CTestPublisherApplication::AppDllUid() const
+ {
+ // Return the UID for the TestPublisher application
+ return KUidTestPublisherApp;
+ }
+
+// End of File