javacommons/jvms/nativeportlayer/inc.s60/jvmnativeportlayer.h
changeset 80 d6dafc5d983f
parent 21 2a9601315dfc
equal deleted inserted replaced
78:71ad690e91f5 80:d6dafc5d983f
     1 /*
     1 /*
     2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    27 
    27 
    28 OS_NONSHARABLE_CLASS(CJvmNativePortLayer): public CBase, public MJvmNativePortLayer
    28 OS_NONSHARABLE_CLASS(CJvmNativePortLayer): public CBase, public MJvmNativePortLayer
    29 {
    29 {
    30 public:
    30 public:
    31     static MJvmNativePortLayer* NewL();
    31     static MJvmNativePortLayer* NewL();
    32     IMPORT_C static void SetPointerToCafMethod(TBool(*aUseCafForFileOpen)(const TDesC&));
       
    33 public:
    32 public:
    34 
    33 
    35     virtual ~CJvmNativePortLayer();
    34     virtual ~CJvmNativePortLayer();
    36 
    35 
    37     virtual MJavaFile* GetJavaFileL();
    36     virtual MJavaFile* GetJavaFileL();
    40 
    39 
    41 private:
    40 private:
    42 
    41 
    43     CJvmNativePortLayer();
    42     CJvmNativePortLayer();
    44 
    43 
    45     void ConstructL();
    44     void Construct();
    46 
    45 
    47 private:
    46 private:
    48 //        static  TBool (*iUseCafForFileOpen)(const TDesC&);
    47     TBool      iLogging;
    49     TBool   iLogging;
       
    50     HBufC*  iStdOut;
       
    51     HBufC*  iStdErr;
       
    52     Redirector iRedirector;
    48     Redirector iRedirector;
    53 };
    49 };
    54 } // end of namespace javaruntime
    50 } // end of namespace javaruntime
    55 
    51 
    56 #endif // JVMNATIVEPORTLAYER_H
    52 #endif // JVMNATIVEPORTLAYER_H