summaryrefslogtreecommitdiffstats
path: root/ksplashml/ksplashiface.h
blob: a3093c0a70c3020019a49236022010b5d735a14e (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
32
33
34
35
36
37
38
/***************************************************************************
 *   Copyright Ravikiran Rajagopal 2003                                    *
 *   ravi@ee.eng.ohio-state.edu                                            *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License (version 2) as   *
 *   published by the Free Software Foundation. (The original KSplash/ML   *
 *   codebase (upto version 0.95.3) is BSD-licensed.)                      *
 *                                                                         *
 ***************************************************************************/

#ifndef __KSPLASHIFACE_H__
#define __KSPLASHIFACE_H__

#include <dcopobject.h>

#include <tqstring.h>

/** @short DCOP interface for KSplash. */
class KSplashIface : virtual public DCOPObject
{
  K_DCOP
public:
  KSplashIface( const char *name = "ksplash" ) : DCOPObject(name) {}

k_dcop:
  virtual ASYNC upAndRunning( TQString ) = 0;
  virtual ASYNC setMaxProgress(int) = 0;
  virtual ASYNC setProgress(int) = 0;
  virtual ASYNC setStartupItemCount( int count ) = 0;
  virtual ASYNC programStarted( TQString programIcon, TQString programName, TQString description ) = 0;
  virtual ASYNC startupComplete() = 0;
  virtual ASYNC close() = 0;
  virtual ASYNC hide() = 0;
  virtual ASYNC show() = 0;
};

#endif