summaryrefslogtreecommitdiffstats
path: root/ksplashml/ksplashiface.h
blob: 2e8e7a8fc82e5eccf014469d567738471d1e9a25 (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 <qstring.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( QString ) = 0;
  virtual ASYNC setMaxProgress(int) = 0;
  virtual ASYNC setProgress(int) = 0;
  virtual ASYNC setStartupItemCount( int count ) = 0;
  virtual ASYNC programStarted( QString programIcon, QString programName, QString description ) = 0;
  virtual ASYNC startupComplete() = 0;
  virtual ASYNC close() = 0;
  virtual ASYNC hide() = 0;
  virtual ASYNC show() = 0;
};

#endif