summaryrefslogtreecommitdiff
path: root/noncore/apps/zsafe/main.cpp
blob: 6dfd4557eed3fcfbdf52e728befcca815cf6f041 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
** Author: Carsten Schneider <CarstenSchneider@t-online.de>
**
** $Id$
**
** Homepage: http://home.t-online.de/home/CarstenSchneider/zsafe/index.html
*/


#include "zsafe.h"

/* OPIE */
#include <opie2/odebug.h>

/* QT */
#include <opie2/oapplicationfactory.h>

void suspend (int signum)
{
   printf ("Suspend signal %d received\n", signum);
}

void resume (int signum)
{
   printf ("Resume signal %d received\n", signum);
   zs->resume(signum);
}


OPIE_EXPORT_APP( Opie::Core::OApplicationFactory<ZSafe> )