diff -r 000000000000 -r fa475d6462b2 bookmarksengine/commoninclude/bookmarkscommonengine.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bookmarksengine/commoninclude/bookmarkscommonengine.h Tue May 04 12:39:38 2010 +0300 @@ -0,0 +1,54 @@ +/* +* 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