javaruntimes/jvmargmodifier/file/src/argsmodifier.cpp
branchRCL_3
changeset 19 04becd199f91
equal deleted inserted replaced
16:f5050f1da672 19:04becd199f91
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  JvmArgs modifier appends new args and replaces modified args
       
    15 *
       
    16 */
       
    17 
       
    18 #include <iterator>
       
    19 
       
    20 
       
    21 #include "logger.h"
       
    22 
       
    23 #include "argsmodifier.h"
       
    24 
       
    25 namespace java // codescanner::namespace
       
    26 {
       
    27 namespace runtime // codescanner::namespace
       
    28 {
       
    29 
       
    30 JvmArgsModifier::JvmArgsModifier()
       
    31 {
       
    32 }
       
    33 
       
    34 JvmArgsModifier::~JvmArgsModifier()
       
    35 {
       
    36 }
       
    37 
       
    38 void JvmArgsModifier::combineArguments(std::list<std::wstring>& aOrig, const std::list<std::wstring>& aNew)
       
    39 {
       
    40     // for now just append the new values
       
    41     std::copy(aNew.begin(),aNew.end(), std::back_inserter(aOrig));
       
    42 }
       
    43 
       
    44 } // end namespace runtime
       
    45 } // end namespace java
       
    46