idlehomescreen/examples/hscontentcontrolexample/inc/HsContentControlDocument.h
author jake
Mon, 02 Aug 2010 12:02:47 +0300
branchRCL_3
changeset 70 d12a7ea0f775
permissions -rw-r--r--
Example applications for various Homescreen APIs.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
70
d12a7ea0f775 Example applications for various Homescreen APIs.
jake
parents:
diff changeset
     1
/*
d12a7ea0f775 Example applications for various Homescreen APIs.
jake
parents:
diff changeset
     2
* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
d12a7ea0f775 Example applications for various Homescreen APIs.
jake
parents:
diff changeset
     3
* All rights reserved.
d12a7ea0f775 Example applications for various Homescreen APIs.
jake
parents:
diff changeset
     4
* This component and the accompanying materials are made available
d12a7ea0f775 Example applications for various Homescreen APIs.
jake
parents:
diff changeset
     5
* under the terms of "Eclipse Public License v1.0"
d12a7ea0f775 Example applications for various Homescreen APIs.
jake
parents:
diff changeset
     6
* which accompanies this distribution, and is available
d12a7ea0f775 Example applications for various Homescreen APIs.
jake
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
d12a7ea0f775 Example applications for various Homescreen APIs.
jake
parents:
diff changeset
     8
*
d12a7ea0f775 Example applications for various Homescreen APIs.
jake
parents:
diff changeset
     9
* Initial Contributors:
d12a7ea0f775 Example applications for various Homescreen APIs.
jake
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
d12a7ea0f775 Example applications for various Homescreen APIs.
jake
parents:
diff changeset
    11
*
d12a7ea0f775 Example applications for various Homescreen APIs.
jake
parents:
diff changeset
    12
* Contributors:
d12a7ea0f775 Example applications for various Homescreen APIs.
jake
parents:
diff changeset
    13
*
d12a7ea0f775 Example applications for various Homescreen APIs.
jake
parents:
diff changeset
    14
* Description:  Content Control example
d12a7ea0f775 Example applications for various Homescreen APIs.
jake
parents:
diff changeset
    15
*
d12a7ea0f775 Example applications for various Homescreen APIs.
jake
parents:
diff changeset
    16
*/
d12a7ea0f775 Example applications for various Homescreen APIs.
jake
parents:
diff changeset
    17
d12a7ea0f775 Example applications for various Homescreen APIs.
jake
parents:
diff changeset
    18
d12a7ea0f775 Example applications for various Homescreen APIs.
jake
parents:
diff changeset
    19
#ifndef HSCONTENTCONTROLDOCUMENT_H
d12a7ea0f775 Example applications for various Homescreen APIs.
jake
parents:
diff changeset
    20
#define HSCONTENTCONTROLDOCUMENT_H
d12a7ea0f775 Example applications for various Homescreen APIs.
jake
parents:
diff changeset
    21
d12a7ea0f775 Example applications for various Homescreen APIs.
jake
parents:
diff changeset
    22
#include <akndoc.h>
d12a7ea0f775 Example applications for various Homescreen APIs.
jake
parents:
diff changeset
    23
        
d12a7ea0f775 Example applications for various Homescreen APIs.
jake
parents:
diff changeset
    24
class CEikAppUi;
d12a7ea0f775 Example applications for various Homescreen APIs.
jake
parents:
diff changeset
    25
d12a7ea0f775 Example applications for various Homescreen APIs.
jake
parents:
diff changeset
    26
/**
d12a7ea0f775 Example applications for various Homescreen APIs.
jake
parents:
diff changeset
    27
* @class    CHsContentControlDocument HsContentControlDocument.h
d12a7ea0f775 Example applications for various Homescreen APIs.
jake
parents:
diff changeset
    28
* @brief    A CAknDocument-derived class is required by the S60 application 
d12a7ea0f775 Example applications for various Homescreen APIs.
jake
parents:
diff changeset
    29
*           framework. It is responsible for creating the AppUi object. 
d12a7ea0f775 Example applications for various Homescreen APIs.
jake
parents:
diff changeset
    30
*/
d12a7ea0f775 Example applications for various Homescreen APIs.
jake
parents:
diff changeset
    31
class CHsContentControlDocument : public CAknDocument
d12a7ea0f775 Example applications for various Homescreen APIs.
jake
parents:
diff changeset
    32
    {
d12a7ea0f775 Example applications for various Homescreen APIs.
jake
parents:
diff changeset
    33
public: 
d12a7ea0f775 Example applications for various Homescreen APIs.
jake
parents:
diff changeset
    34
    // constructor
d12a7ea0f775 Example applications for various Homescreen APIs.
jake
parents:
diff changeset
    35
    static CHsContentControlDocument* NewL( CEikApplication& aApp );
d12a7ea0f775 Example applications for various Homescreen APIs.
jake
parents:
diff changeset
    36
d12a7ea0f775 Example applications for various Homescreen APIs.
jake
parents:
diff changeset
    37
private: 
d12a7ea0f775 Example applications for various Homescreen APIs.
jake
parents:
diff changeset
    38
    // constructors
d12a7ea0f775 Example applications for various Homescreen APIs.
jake
parents:
diff changeset
    39
    CHsContentControlDocument( CEikApplication& aApp );
d12a7ea0f775 Example applications for various Homescreen APIs.
jake
parents:
diff changeset
    40
    void ConstructL();
d12a7ea0f775 Example applications for various Homescreen APIs.
jake
parents:
diff changeset
    41
    
d12a7ea0f775 Example applications for various Homescreen APIs.
jake
parents:
diff changeset
    42
public: 
d12a7ea0f775 Example applications for various Homescreen APIs.
jake
parents:
diff changeset
    43
    // from base class CEikDocument
d12a7ea0f775 Example applications for various Homescreen APIs.
jake
parents:
diff changeset
    44
    CEikAppUi* CreateAppUiL();
d12a7ea0f775 Example applications for various Homescreen APIs.
jake
parents:
diff changeset
    45
    };
d12a7ea0f775 Example applications for various Homescreen APIs.
jake
parents:
diff changeset
    46
#endif // HSCONTENTCONTROLDOCUMENT_H