meetingrequest/mrcommon/inc/esmrservices.rh
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 10:12:48 +0100
branchCompilerCompatibility
changeset 15 1fb7c29cba15
parent 0 8466d47a6819
permissions -rw-r--r--
Add & to member functions in initialiser, to fix Bug 1770

/*
* Copyright (c)  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 esmrservices
*
*/


#ifndef ESMRSERVICES_RH
#define ESMRSERVICES_RH

// ---------------------------------------------------------------------------
// Resource definition for esmr id table
// ---------------------------------------------------------------------------
//
STRUCT ESMR_ID_TABLE
    {
    STRUCT id_table[]; // ID table (ESMR_ID)
    }

// ---------------------------------------------------------------------------
// Resource definition for esmr id
// ---------------------------------------------------------------------------
//
STRUCT ESMR_ID
    {
    LONG id; // Identifier
    }

// ---------------------------------------------------------------------------
// Resource definition for esmr id
// ---------------------------------------------------------------------------
//
STRUCT ESMR_FIELD
    {
    WORD field_id;      // Field id
    WORD field_type;    // Field type
    WORD field_mode;    // Field mode
    }

// ---------------------------------------------------------------------------
// Resource definition for esmr policy
// ---------------------------------------------------------------------------
//
STRUCT ESMR_POLICY
    { 
    WORD event_type;    // Event/entry type
    WORD policy_id;     // Policy identifier
    WORD policy_mode;   // Policy mode
    WORD role_flags;    // Role flags, only for meeting requests
    WORD allowed_app;   // Application that can open certain entry
    LLINK field_ids;           // ESMR_FIELD table
    LLINK default_commands;    // ESMR_ID table
    LLINK additional_commands; // ESMR_ID table
    }

// ---------------------------------------------------------------------------
// Resource definition for esmr policy table item
// ---------------------------------------------------------------------------
//
STRUCT ESMR_POLICY_TABLE_ITEM
    {
    LLINK esmr_policy;
    }

// ---------------------------------------------------------------------------
// Resource definition for esmr policy table
// ---------------------------------------------------------------------------
//
STRUCT ESMR_POLICY_TABLE
    {
    STRUCT policies[]; // policies (ESMR_POLICY_TABLE_ITEM)
    }

#endif // ESMRSERVICES_RH