calendarui/views/dayview/tsrc/unittests/unittest_calendayitemview/calenservices.h
author hgs
Mon, 09 Aug 2010 18:30:52 +0530
changeset 57 bb2d3e476f29
parent 45 b6db4fd4947b
permissions -rw-r--r--
201031

/*
 * Copyright (c) 2009 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 CALENSERVICES_H
#define CALENSERVICES_H

#include "calencontext.h"

extern quint32 SELECTED_COMMAND;

/*!
 Mocked class MCalenServices
 */
class MCalenServices
{
public:
    MCalenServices() {
        
    }
    
    ~MCalenServices() {
        
    }
    
    MCalenContext Context() {return MCalenContext();}
    
    bool IssueCommandL( quint32 aCommand  ) 
    {
        SELECTED_COMMAND = aCommand;

        return true;
    }
};

#endif // CALENSERVICES_H