Extensions for JSEvents

This commit is contained in:
Peter Schojer
2008-05-14 12:31:14 +00:00
parent 0d3e23167a
commit fba8e67818
11 changed files with 212 additions and 58 deletions

View File

@@ -42,7 +42,7 @@
#include "Poco/WebWidgets/Control.h"
#include "Poco/WebWidgets/Event.h"
#include "Poco/BasicEvent.h"
#include "Poco/WebWidgets/JavaScriptEvent.h"
namespace Poco {
@@ -59,7 +59,7 @@ public:
typedef Poco::AutoPtr<Button> Ptr;
typedef Event<Button> ButtonEvent;
Poco::BasicEvent<ButtonEvent> buttonClicked;
JavaScriptEvent<ButtonEvent> buttonClicked;
Button(const std::string& name);
/// Creates a Button with the given name.