bookmarksengine/commoninclude/bookmarkscommonengine.h
changeset 0 fa475d6462b2
child 2 016bf4557e2f
equal deleted inserted replaced
-1:000000000000 0:fa475d6462b2
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef BOOKMARKSCOMMONENGINE_H
       
    20 #define BOOKMARKSCOMMONENGINE_H
       
    21 
       
    22 
       
    23 #define BOOKMARKSENGINESERVER "BookMarkServer"
       
    24 
       
    25 #ifdef Q_OS_LINUX 
       
    26 #define BOOKMARKSENGINESERVEREXE "./BookMarkServer"
       
    27 #else
       
    28 #define BOOKMARKSENGINESERVEREXE "BookMarkServer.exe"
       
    29 #endif
       
    30 
       
    31 #define BOOKMARKSENGINESEPARATOR  ";"
       
    32 
       
    33     enum BookmarksRequestTypes
       
    34         {
       
    35         EDeleteBookmark,
       
    36         EAddBookmark,
       
    37         EFetchBookmark,
       
    38         EFetchAllBookmark,
       
    39         EUnknownrequest
       
    40         };
       
    41     enum EServerResponseTypes
       
    42         {
       
    43         EServerMsgBookmarkDeleted,
       
    44         EServerMsgBookmarkAdded,
       
    45         EServerMsgBookmarkFetched,
       
    46         EServerMsgBookmarkAllFetched,
       
    47         EServerMsgUnknown
       
    48         };
       
    49     enum EBookmarkErrorTypes
       
    50         {
       
    51         ErrNone,
       
    52         ErrGeneral=-2
       
    53         };
       
    54 #endif //BOOKMARKSCOMMONENGINE_H