• Skip to content
  • Skip to link menu
KDE 4.3 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KInit

klauncher_cmds.cpp

Go to the documentation of this file.
00001 /*
00002  *  Copyright 2009 David Faure <faure@kde.org>
00003  *
00004  *  This library is free software; you can redistribute it and/or modify
00005  *  it under the terms of the GNU Lesser General Public License as published by
00006  *  the Free Software Foundation; either version 2 of the License or ( at
00007  *  your option ) version 3 or, at the discretion of KDE e.V. ( which shall
00008  *  act as a proxy as in section 14 of the GPLv3 ), any later version.
00009  *
00010  *  This library is distributed in the hope that it will be useful,
00011  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013  *  Library General Public License for more details.
00014  *
00015  *  You should have received a copy of the GNU Lesser General Public License
00016  *  along with this library; see the file COPYING.LIB.  If not, write to
00017  *  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00018  *  Boston, MA 02110-1301, USA.
00019  */
00020 
00021 #include "klauncher_cmds.h"
00022 
00023 const char* commandToString(int command)
00024 {
00025     switch (command) {
00026     case LAUNCHER_EXEC:
00027         return "EXEC";
00028     case LAUNCHER_SETENV:
00029         return "LAUNCHER_SETENV";
00030     case LAUNCHER_CHILD_DIED:
00031         return "LAUNCHER_CHILD_DIED";
00032     case LAUNCHER_OK:
00033         return "LAUNCHER_OK";
00034     case LAUNCHER_ERROR:
00035         return "LAUNCHER_ERROR";
00036     case LAUNCHER_SHELL:
00037         return "SHELL";
00038     case LAUNCHER_TERMINATE_KDE:
00039         return "LAUNCHER_TERMINATE_KDE";
00040     case LAUNCHER_TERMINATE_KDEINIT:
00041         return "LAUNCHER_TERMINATE_KDEINIT";
00042     case LAUNCHER_DEBUG_WAIT:
00043         return "LAUNCHER_DEBUG_WAIT";
00044     case LAUNCHER_EXT_EXEC:
00045         return "EXT_EXEC";
00046     case LAUNCHER_KWRAPPER:
00047         return "KWRAPPER";
00048     case LAUNCHER_EXEC_NEW:
00049         return "EXEC_NEW";
00050     default:
00051         return "UNKNOWN COMMAND";
00052     }
00053 }

KInit

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal