Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ static void parseArgs(const int argc, char** argv)
}
}


//we shall update this changes under gDeactivate
#if 0
uint32_t getPID(const char* processName)
{
char command[128] = {};
Expand All @@ -157,13 +158,16 @@ bool isRunning(uint32_t pid)

return (kill(pid, 0) == 0);
}
#endif

int main(int argc, char* argv[])
{
parseArgs(argc, argv);

initLogging(gLogLevel);

//we shall update this changes under gDeactivate
#if 0
// Check if WPEFramework is running
uint32_t wpePid = getPID("WPEFramework");
bool isWpeRunning = isRunning(wpePid);
Expand All @@ -181,6 +185,7 @@ int main(int argc, char* argv[])
return 0;
}
}
#endif

// For now, we only implement the starter in COM-RPC but could do a JSON-RPC version
// in the future
Expand Down