1
0
mirror of https://github.com/openSUSE/snapper.git synced 2026-02-05 15:46:00 +01:00
Files
snapper/examples/Create.cc
2012-08-14 14:24:17 +02:00

21 lines
268 B
C++

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