PureMVC PureMVC
|
00001 // ICommand.hpp 00002 // PureMVC_C++ 00003 // 00004 // PureMVC Port to C++ by Tang Khai Phuong <phuong.tang@puremvc.org> 00005 // PureMVC - Copyright(c) 2006-2011 Futurescale, Inc., Some rights reserved. 00006 // Your reuse is governed by the Creative Commons Attribution 3.0 License 00007 // 00008 00009 #if !defined(__PUREMVC_INTERFACES_ICOMMMAND_HPP__) 00010 #define __PUREMVC_INTERFACES_ICOMMMAND_HPP__ 00011 00012 // PureMVC include 00013 #if !defined(__PUREMVC_HPP__) 00014 #define __PUREMVC_INCLUDE__ 00015 #include "../PureMVC.hpp" 00016 #endif /* __PUREMVC_HPP__ */ 00017 00018 #include "INotifier.hpp" 00019 #include "INotification.hpp" 00020 00021 namespace PureMVC 00022 { 00023 namespace Interfaces 00024 { 00030 struct PUREMVC_API ICommand : public virtual INotifier 00031 { 00037 virtual void execute(INotification const& notification) = 0; 00038 00042 virtual ~ICommand(void); 00043 }; 00044 } 00045 } 00046 00047 #endif /* __PUREMVC_INTERFACES_ICOMMMAND_HPP__ */