/* $Id: locker.h,v 1.4 2011/08/16 23:53:09 khorben Exp $ */ /* Copyright (c) 2011 Pierre Pronchery */ /* This file is part of DeforaOS Desktop Locker */ /* This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, version 3 of the License. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ #ifndef LOCKER_LOCKER_H # define LOCKER_LOCKER_H # include "Locker.h" /* Locker */ /* public */ /* types */ typedef enum _LockerMessage { LOCKER_MESSAGE_LOCK = 0, LOCKER_MESSAGE_UNLOCK } LockerMessage; /* constants */ # define LOCKER_CLIENT_MESSAGE "DEFORAOS_DESKTOP_LOCKER_CLIENT" # define LOCKER_MESSAGE 0 /* functions */ Locker * locker_new(int suspend, char const * name); void locker_delete(Locker * locker); #endif /* !LOCKER_LOCKER_H */