data/testpublisher/src/testpublisherapplication.cpp
author jake
Wed, 02 Jun 2010 13:22:05 +0300
changeset 0 b856a9924bbc
permissions -rw-r--r--
initial contribution
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
b856a9924bbc initial contribution
jake
parents:
diff changeset
     1
/*
b856a9924bbc initial contribution
jake
parents:
diff changeset
     2
* Copyright (c) {Year(s)} {Copyright owner}.
b856a9924bbc initial contribution
jake
parents:
diff changeset
     3
* All rights reserved.
b856a9924bbc initial contribution
jake
parents:
diff changeset
     4
* This component and the accompanying materials are made available
b856a9924bbc initial contribution
jake
parents:
diff changeset
     5
* under the terms of the "Eclipse Public License v1.0"
b856a9924bbc initial contribution
jake
parents:
diff changeset
     6
* which accompanies this distribution, and is available
b856a9924bbc initial contribution
jake
parents:
diff changeset
     7
* at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
b856a9924bbc initial contribution
jake
parents:
diff changeset
     8
*
b856a9924bbc initial contribution
jake
parents:
diff changeset
     9
* Initial Contributors:
b856a9924bbc initial contribution
jake
parents:
diff changeset
    10
* {Name} {Company} ? Initial contribution
b856a9924bbc initial contribution
jake
parents:
diff changeset
    11
*
b856a9924bbc initial contribution
jake
parents:
diff changeset
    12
* Contributors:
b856a9924bbc initial contribution
jake
parents:
diff changeset
    13
* {Name} {Company} ? {{Description of contribution}}
b856a9924bbc initial contribution
jake
parents:
diff changeset
    14
*
b856a9924bbc initial contribution
jake
parents:
diff changeset
    15
* Description:
b856a9924bbc initial contribution
jake
parents:
diff changeset
    16
* {{Description of the file}}
b856a9924bbc initial contribution
jake
parents:
diff changeset
    17
*
b856a9924bbc initial contribution
jake
parents:
diff changeset
    18
*/
b856a9924bbc initial contribution
jake
parents:
diff changeset
    19
b856a9924bbc initial contribution
jake
parents:
diff changeset
    20
// INCLUDE FILES
b856a9924bbc initial contribution
jake
parents:
diff changeset
    21
#include "TestPublisher.hrh"
b856a9924bbc initial contribution
jake
parents:
diff changeset
    22
#include "TestPublisherDocument.h"
b856a9924bbc initial contribution
jake
parents:
diff changeset
    23
#include "TestPublisherApplication.h"
b856a9924bbc initial contribution
jake
parents:
diff changeset
    24
b856a9924bbc initial contribution
jake
parents:
diff changeset
    25
// ============================ MEMBER FUNCTIONS ===============================
b856a9924bbc initial contribution
jake
parents:
diff changeset
    26
b856a9924bbc initial contribution
jake
parents:
diff changeset
    27
// -----------------------------------------------------------------------------
b856a9924bbc initial contribution
jake
parents:
diff changeset
    28
// CTestPublisherApplication::CreateDocumentL()
b856a9924bbc initial contribution
jake
parents:
diff changeset
    29
// Creates CApaDocument object
b856a9924bbc initial contribution
jake
parents:
diff changeset
    30
// -----------------------------------------------------------------------------
b856a9924bbc initial contribution
jake
parents:
diff changeset
    31
//
b856a9924bbc initial contribution
jake
parents:
diff changeset
    32
CApaDocument* CTestPublisherApplication::CreateDocumentL()
b856a9924bbc initial contribution
jake
parents:
diff changeset
    33
    {
b856a9924bbc initial contribution
jake
parents:
diff changeset
    34
    // Create an TestPublisher document, and return a pointer to it
b856a9924bbc initial contribution
jake
parents:
diff changeset
    35
    return CTestPublisherDocument::NewL(*this);
b856a9924bbc initial contribution
jake
parents:
diff changeset
    36
    }
b856a9924bbc initial contribution
jake
parents:
diff changeset
    37
b856a9924bbc initial contribution
jake
parents:
diff changeset
    38
// -----------------------------------------------------------------------------
b856a9924bbc initial contribution
jake
parents:
diff changeset
    39
// CTestPublisherApplication::AppDllUid()
b856a9924bbc initial contribution
jake
parents:
diff changeset
    40
// Returns application UID
b856a9924bbc initial contribution
jake
parents:
diff changeset
    41
// -----------------------------------------------------------------------------
b856a9924bbc initial contribution
jake
parents:
diff changeset
    42
//
b856a9924bbc initial contribution
jake
parents:
diff changeset
    43
TUid CTestPublisherApplication::AppDllUid() const
b856a9924bbc initial contribution
jake
parents:
diff changeset
    44
    {
b856a9924bbc initial contribution
jake
parents:
diff changeset
    45
    // Return the UID for the TestPublisher application
b856a9924bbc initial contribution
jake
parents:
diff changeset
    46
    return KUidTestPublisherApp;
b856a9924bbc initial contribution
jake
parents:
diff changeset
    47
    }
b856a9924bbc initial contribution
jake
parents:
diff changeset
    48
b856a9924bbc initial contribution
jake
parents:
diff changeset
    49
// End of File