< prev index next >
src/jdk.jpackage/unix/native/libapplauncher/PosixPlatform.h
Print this page
*** 21,37 ****
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
- #include "Platform.h"
-
- #ifdef POSIX
-
#ifndef POSIXPLATFORM_H
#define POSIXPLATFORM_H
class PosixPlatform : virtual public Platform {
protected:
TString fixName(const TString& name);
--- 21,35 ----
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
#ifndef POSIXPLATFORM_H
#define POSIXPLATFORM_H
+ #include "Platform.h"
+ #include <signal.h>
class PosixPlatform : virtual public Platform {
protected:
TString fixName(const TString& name);
*** 49,76 ****
virtual void SetCurrentDirectory(TString Value);
virtual Module LoadLibrary(TString FileName);
virtual void FreeLibrary(Module AModule);
virtual Procedure GetProcAddress(Module AModule, std::string MethodName);
- virtual std::vector<TString> GetLibraryImports(const TString FileName);
- virtual std::vector<TString> FilterOutRuntimeDependenciesForPlatform(
- std::vector<TString> Imports);
virtual Process* CreateProcess();
virtual TString GetTempDirectory();
};
-
class PosixProcess : public Process {
private:
pid_t FChildPID;
sigset_t saveblock;
int FOutputHandle;
int FInputHandle;
- #ifdef MAC
struct sigaction savintr, savequit;
- #endif //MAC
bool FRunning;
void Cleanup();
bool ReadOutput();
--- 47,70 ----
virtual void SetCurrentDirectory(TString Value);
virtual Module LoadLibrary(TString FileName);
virtual void FreeLibrary(Module AModule);
virtual Procedure GetProcAddress(Module AModule, std::string MethodName);
virtual Process* CreateProcess();
virtual TString GetTempDirectory();
+ void InitStreamLocale(wios *stream);
+ void addPlatformDependencies(JavaLibrary *pJavaLibrary);
};
class PosixProcess : public Process {
private:
pid_t FChildPID;
sigset_t saveblock;
int FOutputHandle;
int FInputHandle;
struct sigaction savintr, savequit;
bool FRunning;
void Cleanup();
bool ReadOutput();
*** 87,92 ****
virtual void SetInput(TString Value);
virtual std::list<TString> GetOutput();
};
#endif // POSIXPLATFORM_H
- #endif // POSX
--- 81,85 ----
< prev index next >