Poodletooth-iLand/build/nirai/panda3d/ppremake/executionEnvironment.h

35 lines
1.2 KiB
C
Raw Normal View History

2015-11-14 13:28:53 -06:00
// Filename: executionEnvironment.h
// Created by: drose (15May00)
//
////////////////////////////////////////////////////////////////////
//
// PANDA 3D SOFTWARE
// Copyright (c) Carnegie Mellon University. All rights reserved.
//
// All use of this software is subject to the terms of the revised BSD
// license. You should have received a copy of this license along
// with this source code in a file named "LICENSE."
//
////////////////////////////////////////////////////////////////////
#ifndef EXECUTIONENVIRONMENT_H
#define EXECUTIONENVIRONMENT_H
#include "ppremake.h"
#include "filename.h"
////////////////////////////////////////////////////////////////////
// Class : ExecutionEnvironment
// Description : This class is borrowed from dtool/src/dtoolutil, and
// stripped down to just the bare minimum that Filename
// needs; and also modified to build outside of Panda.
////////////////////////////////////////////////////////////////////
class ExecutionEnvironment {
public:
static string get_environment_variable(const string &var);
static string expand_string(const string &str);
static Filename get_cwd();
};
#endif