Mercurial > love-experiments
comparison src/modules/thread/ThreadModule.h @ 260:4acca629382a
Bye-bye ThreadModuleRegistrar. An abstract ThreadModule will do that job.
| author | rude |
|---|---|
| date | Wed, 24 Feb 2010 20:40:59 +0100 |
| parents | |
| children | 4a4eb9c3984d |
comparison
equal
deleted
inserted
replaced
| 259:9973660acd6f | 260:4acca629382a |
|---|---|
| 1 /** | |
| 2 * Copyright (c) 2006-2010 LOVE Development Team | |
| 3 * | |
| 4 * This software is provided 'as-is', without any express or implied | |
| 5 * warranty. In no event will the authors be held liable for any damages | |
| 6 * arising from the use of this software. | |
| 7 * | |
| 8 * Permission is granted to anyone to use this software for any purpose, | |
| 9 * including commercial applications, and to alter it and redistribute it | |
| 10 * freely, subject to the following restrictions: | |
| 11 * | |
| 12 * 1. The origin of this software must not be misrepresented; you must not | |
| 13 * claim that you wrote the original software. If you use this software | |
| 14 * in a product, an acknowledgment in the product documentation would be | |
| 15 * appreciated but is not required. | |
| 16 * 2. Altered source versions must be plainly marked as such, and must not be | |
| 17 * misrepresented as being the original software. | |
| 18 * 3. This notice may not be removed or altered from any source distribution. | |
| 19 **/ | |
| 20 | |
| 21 #ifndef LOVE_THREAD_THREAD_H | |
| 22 #define LOVE_THREAD_THREAD_H | |
| 23 | |
| 24 #include <common/Module.h> | |
| 25 #include <string> | |
| 26 | |
| 27 namespace love | |
| 28 { | |
| 29 namespace thread | |
| 30 { | |
| 31 class ThreadModule : public Module | |
| 32 { | |
| 33 public: | |
| 34 virtual ~ThreadModule(){}; | |
| 35 virtual void unregister(std::string name) = 0; | |
| 36 }; // ThreadModule | |
| 37 | |
| 38 } // thread | |
| 39 } // love | |
| 40 | |
| 41 #endif // LOVE_THREAD_THREAD_H |
