Select Git revision
generate_svn_version.sh
-
Eric J. Korpela authored
on unix systems that don't synchronize writes to the same file from opposite sides of a pipe. svn path=/trunk/boinc/; revision=26058
Eric J. Korpela authoredon unix systems that don't synchronize writes to the same file from opposite sides of a pipe. svn path=/trunk/boinc/; revision=26058
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_*/