~cairo-dock-team/ubuntu/precise/cairo-dock-plug-ins/3.0.0.0rc1

« back to all changes in this revision

Viewing changes to Scooby-Do/src/applet-session.h

  • Committer: Bazaar Package Importer
  • Author(s): Julien Lavergne, Matthieu Baerts (matttbe), Julien Lavergne
  • Date: 2009-10-05 19:27:17 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20091005192717-mvqvb395guktr401
Tags: 2.0.9-0ubuntu1
[ Matthieu Baerts (matttbe) ]
* New upstream release (LP: #435590)
* debian/control: 
 - Remove ${shlibs:Depends} for integration plug-ins to avoid
   pulling shared libraries which are detected automatically.
 - Added curl as depends for cairo-dock-plug-ins
* debian/rules:
 - Add --enable-dnd2share and --enable-musicplayer to enable new applets.
 - Remove --enable-rhythmbox and --enable-nvidia to remove those applets,
   not maintained upstream.
* Update *.install to take all generated applets.

[ Julien Lavergne ]
* Adjust changelog with Daniel Holbach suggestions.
* cairo-dock-plug-ins.changelogs:  Install specific changelog for 2.0.9
* Build-depends on cairo-dock-dev (>= 2.0.9)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**
 
2
* This file is a part of the Cairo-Dock project
 
3
*
 
4
* Copyright : (C) see the 'copyright' file.
 
5
* E-mail    : see the 'copyright' file.
 
6
*
 
7
* This program is free software; you can redistribute it and/or
 
8
* modify it under the terms of the GNU General Public License
 
9
* as published by the Free Software Foundation; either version 3
 
10
* of the License, or (at your option) any later version.
 
11
*
 
12
* This program is distributed in the hope that it will be useful,
 
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
15
* GNU General Public License for more details.
 
16
* You should have received a copy of the GNU General Public License
 
17
* along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
18
*/
 
19
 
 
20
 
 
21
#ifndef __APPLET_SESSION__
 
22
#define  __APPLET_SESSION__
 
23
 
 
24
#include <cairo-dock.h>
 
25
#include "applet-struct.h"
 
26
 
 
27
 
 
28
void cd_do_open_session (void);
 
29
 
 
30
void cd_do_close_session (void);
 
31
 
 
32
void cd_do_exit_session (void);
 
33
 
 
34
#define cd_do_session_is_waiting_for_input(...) (myData.sCurrentText != NULL)
 
35
#define cd_do_session_is_closing(...) (myData.iCloseTime != 0)
 
36
#define cd_do_session_is_running(...) (cd_do_session_is_waiting_for_input () || cd_do_session_is_closing ())
 
37
#define cd_do_session_is_in_navigation_mode(...) (myData.pCharList == NULL)
 
38
#define cd_do_session_is_in_selection_mode(...) (myData.pCharList != NUUL)
 
39
 
 
40
void cd_do_free_char (CDChar *pChar);
 
41
void cd_do_free_char_list (GList *pCharList);
 
42
 
 
43
 
 
44
void cd_do_load_pending_caracters (void);
 
45
 
 
46
void cd_do_compute_final_coords (void);
 
47
 
 
48
void cd_do_launch_appearance_animation (void);
 
49
 
 
50
void cd_do_delete_invalid_caracters (void);
 
51
 
 
52
 
 
53
#endif