defaultapplicationsettings/server/inc/das_gsentries.rh
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:33:30 +0100
branchRCL_3
changeset 14 5f281e37a2f5
parent 0 254040eb3b7d
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201029 Kit: 201035

/*
* Copyright (c) 2005-2006 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:  Resource headers for project das_server
*
*/


#ifndef DAS_GSENTRIES_RH
#define DAS_GSENTRIES_RH

// ---------------------------------------------------------------------------
// New structure to describe a Service & MIME pair
// ---------------------------------------------------------------------------
//
STRUCT DAS_SERVICE_MIME
    {
    LONG service_uid;
    LTEXT8 mime;
    }

// ---------------------------------------------------------------------------
// New structure to describe a Task.
// A Task has a name, a MIME label and a list of associated Service & MIMEs pairs.
// ---------------------------------------------------------------------------
//
STRUCT DAS_GS_TASK_ENTRY
    {
    LTEXT task_name;
    
    //task title
    LTEXT task_title;         

    // The main service and MIME give the default application for the task. 
    // The default application for the task is registered as default for the main MIME and Service
    // The default application for the task does not necessarily have to support the main MIME and Service
    // ()
    LTEXT8 mime_label;
    
    //other pairs that 
    STRUCT service_mimes[]; //Type is DAS_SERVICE_MIME
    }

// ---------------------------------------------------------------------------
// New structure to describe a list of Tasks
// ---------------------------------------------------------------------------
//
STRUCT DAS_GS_TASKS
    {
    STRUCT tasks[]; //Type is DAS_GS_TASK_ENTRY
    }

#endif // DAS_GSENTRIES_RH