srsf/nssvasapi/nssvasdb/inc/nssvascresourcehandler.h
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:29:17 +0100
branchRCL_3
changeset 19 e36f3802f733
parent 0 bf1d17376201
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201033 Kit: 201035

/*
* Copyright (c) 2005 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:  Reads the VAS resource file and keeps the information in
*               member variables for later use.
*
*/


#ifndef NSSVASCRESOURCEHANDLER_H
#define NSSVASCRESOURCEHANDLER_H

#include <e32base.h>

// CLASS DECLARATION

/**
*  This class encapsulates resource file handling functions
*
*  @lib NssVASApi.lib
*  @since 2.8
*/
NONSHARABLE_CLASS( CNssVasResourceHandler ) : public CBase
	{
    public: // Constructors and destructor

        /**
        * Two-phased constructor.
        */
        static CNssVasResourceHandler* NewL();

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

    private:

        /**
        * C++ default constructor.
        */
        CNssVasResourceHandler();

        /**
        * By default Symbian 2nd phase constructor is private.
        */
        void ConstructL();

        /**
        * Reads the data from the resource file.
        */
		void ReadResourceFileL();

	public: // Data

        // Path of the database
        HBufC* iDatabasePath;

        // Database filename
        HBufC* iDatabaseName;
	};

#endif // NSSVASCRESOURCEHANDLER_H

// End of File