wok diff pcmanfm/stuff/pcmanfm.h @ rev 1056

Up: pcmanfm (0.4.6) - add desktop file to chg bg from the preferences menu
author Christophe Lincoln <pankso@slitaz.org>
date Mon Jul 14 23:26:28 2008 +0200 (2008-07-14)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pcmanfm/stuff/pcmanfm.h	Mon Jul 14 23:26:28 2008 +0200
     1.3 @@ -0,0 +1,39 @@
     1.4 +/*
     1.5 + *      pcmanfm.h
     1.6 + *
     1.7 + *      Copyright 2008  <pcman.tw@gmail.com>
     1.8 + *
     1.9 + *      This program is free software; you can redistribute it and/or modify
    1.10 + *      it under the terms of the GNU General Public License as published by
    1.11 + *      the Free Software Foundation; either version 2 of the License, or
    1.12 + *      (at your option) any later version.
    1.13 + *
    1.14 + *      This program is distributed in the hope that it will be useful,
    1.15 + *      but WITHOUT ANY WARRANTY; without even the implied warranty of
    1.16 + *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    1.17 + *      GNU General Public License for more details.
    1.18 + *
    1.19 + *      You should have received a copy of the GNU General Public License
    1.20 + *      along with this program; if not, write to the Free Software
    1.21 + *      Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
    1.22 + *      MA 02110-1301, USA.
    1.23 + */
    1.24 +
    1.25 +#ifndef _PCMANFM_H_
    1.26 +#define _PCMANFM_H_
    1.27 +
    1.28 +#include <gtk/gtk.h>
    1.29 +
    1.30 +G_BEGIN_DECLS
    1.31 +
    1.32 +/* After opening any window/dialog/tool, this should be called. */
    1.33 +void pcmanfm_ref();
    1.34 +
    1.35 +/* After closing any window/dialog/tool, this should be called.
    1.36 + * If the last window is closed and we are not a deamon, pcmanfm will quit.
    1.37 + */
    1.38 +gboolean pcmanfm_unref();
    1.39 +
    1.40 +G_END_DECLS
    1.41 +
    1.42 +#endif