mirror of
https://github.com/openSUSE/snapper.git
synced 2026-02-06 09:46:06 +01:00
20 lines
283 B
C++
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);
|
|
}
|