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