Files
atom/Atom-Linux/io_utils.h
Kevin Sawicki 2d2ae3ec07 Add -rpath to linker flags pointing to install directory
This removes the need to have the intermediate shell script
that updates the LD_LIBRARY_PATH environment variable
2012-08-22 18:00:21 -07:00

23 lines
425 B
C++

#ifndef IO_UTILS_H_
#define IO_UTILS_H_
#pragma once
#include <string>
/**
* Read file at path and append to output string
*/
int io_utils_read(std::string path, std::string* output);
/**
* Get realpath for given path that is relative to the app path
*/
std::string io_utils_real_app_path(std::string relativePath);
/**
* Get path to directory where atom app resides
*/
std::string io_util_app_directory();
#endif