26 lines
379 B
C++
26 lines
379 B
C++
/**
|
|
* @file LocalVersionHolder.h
|
|
*
|
|
* @date Mar 19, 2014
|
|
* @author Andrey Belomutskiy, (c) 2012-2014
|
|
*/
|
|
|
|
#ifndef LOCALVERSIONHOLDER_H_
|
|
#define LOCALVERSIONHOLDER_H_
|
|
|
|
#include "stdbool.h"
|
|
|
|
class LocalVersionHolder {
|
|
public:
|
|
LocalVersionHolder();
|
|
|
|
bool isOld();
|
|
int getVersion();
|
|
|
|
private:
|
|
int localVersion;
|
|
|
|
};
|
|
|
|
#endif /* LOCALVERSIONHOLDER_H_ */
|