uifw/AknGlobalUI/AknNfySrv/inc/AknNfySrvUi.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Wed, 15 Sep 2010 12:29:17 +0300
branchRCL_3
changeset 64 85902f042028
parent 0 2f259fa3e83a
permissions -rw-r--r--
Revision: 201035 Kit: 201036

/*
* Copyright (c) 2004-2007 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: 
*
*/

#ifndef __AKNNFYSRVUI__
#define __AKNNFYSRVUI__

#include <AknNotifierWrapperDefs.h>
#include <AknNotiferAppServerApplication.h> // link against AknNotifierWrapper.lib
#include <AknNotifierAppServer.h>
#include <AknNotifierControllerPlugin.h>

#include "AknCapServerDefs.h"

//----------------------------------
// Application
//----------------------------------
class CAknNfySrvApplication : public CAknNotifierAppServerApplication
    {
public:
    CAknNfySrvApplication();
    void NewAppServerL(CApaAppServer*& aAppServer);
    CApaDocument* CreateDocumentL();
    TUid AppDllUid() const 
        {
        return KCommonNotifierAppSrvUid;    
        }
    TFileName ResourceFileName() const
        {
        return KNullDesC();            
        }
    };

//----------------------------------
// Document
//----------------------------------
class CAknNfySrvDocument : public CAknDocument
    {
public:
    CAknNfySrvDocument(CEikApplication& aApp):CAknDocument(aApp){};
private: // from CAknDocument
    CEikAppUi* CreateAppUiL();
    };


//----------------------------------
// AppUi
//----------------------------------
class CAknNfySrvAppUi: public CAknNotifierAppServerAppUi
    {
public:
    CAknNfySrvAppUi();
    ~CAknNfySrvAppUi();

public: // from CAknNotifierAppServerAppUi
    void ConstructL();

private: // from CCoeAppUi
    TBool FrameworkCallsRendezvous() const;
    };

#endif // __AKNNFYSRVUI__

// End of file