-
-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
1,394 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#pragma once | ||
|
||
#include <stddef.h> | ||
|
||
namespace love | ||
{ | ||
class Resource | ||
{ | ||
public: | ||
virtual ~Resource() | ||
{} | ||
|
||
virtual ptrdiff_t GetHandle() const = 0; | ||
}; | ||
} // namespace love |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#pragma once | ||
|
||
#include <list> | ||
|
||
namespace love | ||
{ | ||
class Volatile | ||
{ | ||
private: | ||
static std::list<Volatile*> all; | ||
|
||
public: | ||
Volatile(); | ||
|
||
virtual ~Volatile(); | ||
|
||
virtual bool LoadVolatile() = 0; | ||
|
||
virtual void UnloadVolatile() = 0; | ||
|
||
static bool LoadAll(); | ||
|
||
static void UnloadAll(); | ||
}; | ||
} // namespace love |
Oops, something went wrong.