1
0
mirror of https://github.com/openSUSE/snapper.git synced 2026-02-06 09:46:06 +01:00
Files
snapper/examples/Create.cc
2011-02-04 09:42:14 +01:00

20 lines
283 B
C++

#include <stdlib.h>
#include <iostream>
#include <snapper/Factory.h>
#include <snapper/Snapper.h>
using namespace snapper;
using namespace std;
int
main(int argc, char** argv)
{
Snapper* sh = createSnapper();
sh->createSingleSnapshot("test");
exit(EXIT_SUCCESS);
}