defaultapplicationsettings/server/inc/das_gsentries.rh
changeset 10 0a74be98a8bc
parent 0 254040eb3b7d
child 11 10d0dd0e43f1
equal deleted inserted replaced
0:254040eb3b7d 10:0a74be98a8bc
     1 /*
       
     2 * Copyright (c) 2005-2006 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:  Resource headers for project das_server
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef DAS_GSENTRIES_RH
       
    20 #define DAS_GSENTRIES_RH
       
    21 
       
    22 // ---------------------------------------------------------------------------
       
    23 // New structure to describe a Service & MIME pair
       
    24 // ---------------------------------------------------------------------------
       
    25 //
       
    26 STRUCT DAS_SERVICE_MIME
       
    27     {
       
    28     LONG service_uid;
       
    29     LTEXT8 mime;
       
    30     }
       
    31 
       
    32 // ---------------------------------------------------------------------------
       
    33 // New structure to describe a Task.
       
    34 // A Task has a name, a MIME label and a list of associated Service & MIMEs pairs.
       
    35 // ---------------------------------------------------------------------------
       
    36 //
       
    37 STRUCT DAS_GS_TASK_ENTRY
       
    38     {
       
    39     LTEXT task_name;
       
    40     
       
    41     //task title
       
    42     LTEXT task_title;         
       
    43 
       
    44     // The main service and MIME give the default application for the task. 
       
    45     // The default application for the task is registered as default for the main MIME and Service
       
    46     // The default application for the task does not necessarily have to support the main MIME and Service
       
    47     // ()
       
    48     LTEXT8 mime_label;
       
    49     
       
    50     //other pairs that 
       
    51     STRUCT service_mimes[]; //Type is DAS_SERVICE_MIME
       
    52     }
       
    53 
       
    54 // ---------------------------------------------------------------------------
       
    55 // New structure to describe a list of Tasks
       
    56 // ---------------------------------------------------------------------------
       
    57 //
       
    58 STRUCT DAS_GS_TASKS
       
    59     {
       
    60     STRUCT tasks[]; //Type is DAS_GS_TASK_ENTRY
       
    61     }
       
    62 
       
    63 #endif // DAS_GSENTRIES_RH