1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/app/memailobserverlistener.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: Interface header for event listener.
1.18 +*
1.19 +*/
1.20 +
1.21 +#ifndef MEMAILOBSERVERLISTENER_H
1.22 +#define MEMAILOBSERVERLISTENER_H
1.23 +
1.24 +namespace EmailInterface {
1.25 +
1.26 +// Forward declarations
1.27 +class MEmailObserverPlugin;
1.28 +class MEmailData;
1.29 +
1.30 +/**
1.31 + * Interface class that is implemented by the plugin instantiator
1.32 + */
1.33 +class MEmailObserverListener
1.34 +{
1.35 + public:
1.36 + /**
1.37 + * Client callback routine. Client should override this method to implement
1.38 + * event handling routine.
1.39 + * Plugin calls this when it wishes to update data on the widget
1.40 + * @param aEmailData reference to email data provided by the plugin
1.41 + */
1.42 + virtual void EmailObserverEvent( MEmailData& aEmailData ) = 0;
1.43 +};
1.44 +
1.45 +} // namespace
1.46 +
1.47 +#endif // MEMAILOBSERVERLISTENER_H