bookmarksengine/commoninclude/bookmarkscommonengine.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 04 May 2010 12:39:38 +0300
changeset 0 fa475d6462b2
child 2 016bf4557e2f
permissions -rw-r--r--
Revision: 201015 Kit: 201018

/*
* 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 BOOKMARKSCOMMONENGINE_H
#define BOOKMARKSCOMMONENGINE_H


#define BOOKMARKSENGINESERVER "BookMarkServer"

#ifdef Q_OS_LINUX 
#define BOOKMARKSENGINESERVEREXE "./BookMarkServer"
#else
#define BOOKMARKSENGINESERVEREXE "BookMarkServer.exe"
#endif

#define BOOKMARKSENGINESEPARATOR  ";"

    enum BookmarksRequestTypes
        {
        EDeleteBookmark,
        EAddBookmark,
        EFetchBookmark,
        EFetchAllBookmark,
        EUnknownrequest
        };
    enum EServerResponseTypes
        {
        EServerMsgBookmarkDeleted,
        EServerMsgBookmarkAdded,
        EServerMsgBookmarkFetched,
        EServerMsgBookmarkAllFetched,
        EServerMsgUnknown
        };
    enum EBookmarkErrorTypes
        {
        ErrNone,
        ErrGeneral=-2
        };
#endif //BOOKMARKSCOMMONENGINE_H