Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7329 in orxonox.OLD for trunk/src/lib/util/threading.h


Ignore:
Timestamp:
Apr 17, 2006, 4:47:48 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: windows compatibility (not finished) also added a threading Class to wrap around SDL_thread (for simple oo-tasks)

File:
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/util/threading.h

    r7328 r7329  
    11/*!
    2  * @file proto_class.h
    3  * @brief Definition of ...
     2 * @file threading.h
     3 * @brief Definition of Thread Classes.
     4 *
     5 * These are mainly Classes, that are used for wrapping around SDL_thread
    46*/
    57
    6 #ifndef _PROTO_CLASS_H
    7 #define _PROTO_CLASS_H
     8#ifndef _THREADING_H
     9#define _THREADING_H
    810
    9 #include "base_object.h"
    10 
    11 // FORWARD DECLARATION
     11#ifdef HAVE_SDL_H
     12 #include <SDL_thread.h>
     13#else
     14 #include <SDL/SDL_thread.h>
     15#endif
    1216
    1317
    14 
    15 //! A class for ...
    16 class ProtoClass : public BaseObject {
     18//! A class for Wrapping Threads
     19class Threading {
    1720
    1821 public:
    19   ProtoClass();
    20   virtual ~ProtoClass();
     22  Threading();
     23  virtual ~Threading();
    2124
    2225
     
    2528};
    2629
    27 #endif /* _PROTO_CLASS_H */
     30#endif /* _THREADING_H */
Note: See TracChangeset for help on using the changeset viewer.