• Main Page
  • Classes
  • Files
  • File List

Swiften/EventLoop/Cocoa/CocoaEvent.h

00001 /*
00002  * Copyright (c) 2010 Remko Tronçon
00003  * Licensed under the GNU General Public License v3.
00004  * See Documentation/Licenses/GPLv3.txt for more information.
00005  */
00006 
00007 #pragma once
00008 
00009 #include <Foundation/Foundation.h>
00010 
00011 namespace Swift {
00012   class Event;
00013   class CocoaEventLoop;
00014 }
00015 
00016 @interface CocoaEvent : NSObject {
00017   Swift::Event* event;
00018   Swift::CocoaEventLoop* eventLoop;
00019 }
00020 
00021 // Takes ownership of event
00022 - (id) initWithEvent: (Swift::Event*) e eventLoop: (Swift::CocoaEventLoop*) el;
00023 - (void) process;
00024 - (void) dealloc;
00025 
00026 @end

Generated on Fri Oct 12 2012 21:00:19 for Swiften by  doxygen 1.7.1