• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.14.38 API Reference
  • KDE Home
  • Contact Us
 

KInit

  • kinit
klauncher_cmds.cpp
Go to the documentation of this file.
1/*
2 * Copyright 2009 David Faure <faure@kde.org>
3 *
4 * This library is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation; either version 2 of the License or ( at
7 * your option ) version 3 or, at the discretion of KDE e.V. ( which shall
8 * act as a proxy as in section 14 of the GPLv3 ), any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public License
16 * along with this library; see the file COPYING.LIB. If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA.
19 */
20
21#include "klauncher_cmds.h"
22
23const char* commandToString(int command)
24{
25 switch (command) {
26 case LAUNCHER_EXEC:
27 return "EXEC";
28 case LAUNCHER_SETENV:
29 return "LAUNCHER_SETENV";
30 case LAUNCHER_CHILD_DIED:
31 return "LAUNCHER_CHILD_DIED";
32 case LAUNCHER_OK:
33 return "LAUNCHER_OK";
34 case LAUNCHER_ERROR:
35 return "LAUNCHER_ERROR";
36 case LAUNCHER_SHELL:
37 return "SHELL";
38 case LAUNCHER_TERMINATE_KDE:
39 return "LAUNCHER_TERMINATE_KDE";
40 case LAUNCHER_TERMINATE_KDEINIT:
41 return "LAUNCHER_TERMINATE_KDEINIT";
42 case LAUNCHER_DEBUG_WAIT:
43 return "LAUNCHER_DEBUG_WAIT";
44 case LAUNCHER_EXT_EXEC:
45 return "EXT_EXEC";
46 case LAUNCHER_KWRAPPER:
47 return "KWRAPPER";
48 case LAUNCHER_EXEC_NEW:
49 return "EXEC_NEW";
50 default:
51 return "UNKNOWN COMMAND";
52 }
53}
commandToString
const char * commandToString(int command)
Definition: klauncher_cmds.cpp:23
klauncher_cmds.h
LAUNCHER_CHILD_DIED
#define LAUNCHER_CHILD_DIED
Definition: klauncher_cmds.h:57
LAUNCHER_TERMINATE_KDE
#define LAUNCHER_TERMINATE_KDE
Definition: klauncher_cmds.h:104
LAUNCHER_DEBUG_WAIT
#define LAUNCHER_DEBUG_WAIT
Definition: klauncher_cmds.h:113
LAUNCHER_SHELL
#define LAUNCHER_SHELL
Definition: klauncher_cmds.h:85
LAUNCHER_TERMINATE_KDEINIT
#define LAUNCHER_TERMINATE_KDEINIT
Definition: klauncher_cmds.h:111
LAUNCHER_EXEC
#define LAUNCHER_EXEC
Definition: klauncher_cmds.h:33
LAUNCHER_OK
#define LAUNCHER_OK
Definition: klauncher_cmds.h:67
LAUNCHER_EXEC_NEW
#define LAUNCHER_EXEC_NEW
Definition: klauncher_cmds.h:164
LAUNCHER_KWRAPPER
#define LAUNCHER_KWRAPPER
Definition: klauncher_cmds.h:144
LAUNCHER_SETENV
#define LAUNCHER_SETENV
Definition: klauncher_cmds.h:45
LAUNCHER_ERROR
#define LAUNCHER_ERROR
Definition: klauncher_cmds.h:76
LAUNCHER_EXT_EXEC
#define LAUNCHER_EXT_EXEC
Definition: klauncher_cmds.h:123
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KInit

Skip menu "KInit"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdelibs-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal