add more spacing
[personal-kdebase.git] / workspace / libs / ksysguard / processcore / processes_solaris_p.cpp
blobc3b0566a3dbacf300bec85efc4bf5c41189b9172
1 /* This file is part of the KDE project
2 Copyright (C) 2007 Adriaan de Groot <groot@kde.org>
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Library General Public
6 License as published by the Free Software Foundation; either
7 version 2 of the License, or (at your option) any later version.
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Library General Public License for more details.
14 You should have received a copy of the GNU Library General Public License
15 along with this library; see the file COPYING.LIB. If not, write to
16 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 Boston, MA 02110-1301, USA.
20 #include "processes_local_p.h"
21 #include "process.h"
23 #include <klocale.h>
25 #include <QSet>
27 #include <sys/param.h>
28 #include <sys/types.h>
29 #include <sys/user.h>
30 #include <sys/resource.h>
31 #include <signal.h>
32 #include <unistd.h>
33 #include <stdlib.h>
34 #include <sched.h>
36 #ifdef __GNUC__
37 #warning Totally bogus ProcessesLocal implementation
38 #endif
40 namespace KSysGuard
43 class ProcessesLocal::Private
45 public:
46 Private() { };
47 ~Private() { };
48 } ;
50 ProcessesLocal::ProcessesLocal() : d(0)
54 long ProcessesLocal::getParentPid(long pid) {
55 long long ppid = 0;
56 return ppid;
59 bool ProcessesLocal::updateProcessInfo( long pid, Process *process)
61 return false;
64 QSet<long> ProcessesLocal::getAllPids( )
66 QSet<long> pids;
67 return pids;
70 bool ProcessesLocal::sendSignal(long pid, int sig) {
71 return false;
74 bool ProcessesLocal::setNiceness(long pid, int priority) {
75 return false;
78 bool ProcessesLocal::setScheduler(long pid, int priorityClass, int priority)
80 return false;
83 bool ProcessesLocal::setIoNiceness(long pid, int priorityClass, int priority) {
84 return false; //Not yet supported
87 bool ProcessesLocal::supportsIoNiceness() {
88 return false;
91 long long ProcessesLocal::totalPhysicalMemory() {
92 return 0;
95 ProcessesLocal::~ProcessesLocal()
97 delete d;