Select Git revision
WindowManager.h
Forked from
einsteinathome / graphicsframework
Source project has a limited visibility.
-
Oliver Bock authored
* For sphere rotation * For observatory positioning Note: the original code seems to have a bug which explains a slight discrepancy between this new and the original visualisation. In the original code gmt_dtime() is used to get the GMT time, but this function is a mere #define of dtime() under unix, hence any difference of dtime() and gmt_dtime() will result in 0 instead of the real UTC/GMT offset. Note: dtime() returns local time...
Oliver Bock authored* For sphere rotation * For observatory positioning Note: the original code seems to have a bug which explains a slight discrepancy between this new and the original visualisation. In the original code gmt_dtime() is used to get the GMT time, but this function is a mere #define of dtime() under unix, hence any difference of dtime() and gmt_dtime() will result in 0 instead of the real UTC/GMT offset. Note: dtime() returns local time...
Resource.h 401 B
#ifndef RESOURCE_H_
#define RESOURCE_H_
#include <string>
#include <vector>
using namespace std;
class Resource
{
public:
Resource(const string identifier, const vector<unsigned char>& data);
virtual ~Resource();
string identifier() const;
const vector<unsigned char> * data() const;
private:
string m_Identifier;
const auto_ptr<vector<unsigned char> > m_Data;
};
#endif /*RESOURCE_H_*/