seba před 16 roky
rodič 12d677afdb
revize cf11ce691a

@ -0,0 +1,21 @@
#include "segl.h"
namespace segl {
std::string getVersion() {
return (std::string)VERSION;
}
std::string getFullVersion() {
return "libsegl " VERSION ": Compiled on " __DATE__ " at " __TIME__;
}
void printVersion() {
std::cout << getVersion() << std::endl;
}
void printFullVersion() {
std::cout << getFullVersion() << std::endl;
}
} // namespace segl

@ -0,0 +1,16 @@
#ifndef __LIBSEGL_H
#define __LIBSEGL_H
#include <iostream>
#include <string>
namespace segl {
std::string getVersion();
std::string getFullVersion();
void printVersion();
void printFullVersion();
} // namespace segl
#endif
Načítá se…
Zrušit
Uložit