epoc32/include/app/memaildata.h
branchSymbian3
changeset 4 837f303aceeb
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/app/memaildata.h	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -0,0 +1,44 @@
     1.4 +/*
     1.5 +* Copyright (c) 2009 - 2009 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +* All rights reserved.
     1.7 +* This component and the accompanying materials are made available
     1.8 +* under the terms of "Eclipse Public License v1.0"
     1.9 +* which accompanies this distribution, and is available
    1.10 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.11 +*
    1.12 +* Initial Contributors:
    1.13 +* Nokia Corporation - initial contribution.
    1.14 +*
    1.15 +* Contributors:
    1.16 +*
    1.17 +* Description:  Helper classes for interface.
    1.18 +*
    1.19 +*/
    1.20 +
    1.21 +#ifndef MEMAILDATA_H
    1.22 +#define MEMAILDATA_H
    1.23 +
    1.24 +// System includes
    1.25 +#include <memailmailboxdata.h>
    1.26 +
    1.27 +namespace EmailInterface {
    1.28 +
    1.29 +/**
    1.30 + * Container interface to data that plugin offers
    1.31 + * Plugin must ensure that the data is available when MailboxesL() returns
    1.32 + * Client will access the data always through this API; no direct references are
    1.33 + * stored permanently in the client
    1.34 + */
    1.35 +class MEmailData
    1.36 +    {
    1.37 +public:
    1.38 +    /**
    1.39 +     * Accessor for mailbox information that this plugin is offering
    1.40 +     * @ return pointer array of mailbox data interfaces
    1.41 +     */
    1.42 +    virtual RPointerArray<MMailboxData>& MailboxesL() = 0;
    1.43 +    };
    1.44 +
    1.45 +} // namespace
    1.46 +
    1.47 +#endif // MEMAILDATA_H