phonebookui/Phonebook2/ccapplication/ccapp/inc/ccapppluginparameter.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Wed, 09 Jun 2010 09:26:27 +0300
branchRCL_3
changeset 39 a6539d1e8e43
parent 0 e686773b3f54
permissions -rw-r--r--
Revision: 201021 Kit: 2010123

/*
* Copyright (c) 2007-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:  Parameter class between CCApp and actual plugins
*
*/


#ifndef C_CCAPPPLUGINPARAMETER_H
#define C_CCAPPPLUGINPARAMETER_H

#include "ccappheaders.h"

class CCCAppView;

/**
 *  This class is the concrete implementation of 
 *  MCCAppPluginParameter-parameter class.
 * 
 *  If specific parameter is not supported by certain version
 *  of this class, NULL is returned.
 * 
 *  @code
 *   ?good_class_usage_example(s) todo!
 *  @endcode
 *
 *  @lib CCA application
 *  @since S60 v5.0
 */
class CCCAppPluginParameter: 
	public CBase, 
	public MCCAppPluginParameter
    {

public:

    /**
     * Two-phased constructor.
     */
    static CCCAppPluginParameter* NewL( CCCAppView& aAppView );

    /**
     * Destructor.
     */
    virtual ~CCCAppPluginParameter();

public:

    // Interface methods
    
    /**
     * From MCCAppPluginParameter
     */
    TInt Version();

    /**
     * From MCCAppPluginParameter
     */
    MCCAParameter& CCAppLaunchParameter();    
    
    /**
     * From MCCAppPluginParameter
     */
    const RArray<TInt>& ReservedKeys();
    
private:

    /**
     * Constructor.
     */
    CCCAppPluginParameter( CCCAppView& aAppView );

private: // data

    /**
     * Version information
     */
    TInt iVersion;

    /**
     * Reference to AppView
     */
    CCCAppView& iAppView;

    };


#endif // C_CCAPPPLUGINPARAMETER_H