Remove some unused functions

Originally committed to SVN as r6611.
This commit is contained in:
Thomas Goyne 2012-03-27 00:49:05 +00:00
parent 7f427e01df
commit 909a0ca280
2 changed files with 0 additions and 33 deletions

View file

@ -61,35 +61,6 @@
#include "utils.h" #include "utils.h"
#ifndef __LINUX__
/// @brief Absolute of 64 bit int
/// @param input
/// @return
///
int64_t abs64(int64_t input) {
if (input < 0) return -input;
return input;
}
#endif
/// @brief Count number of matches of a substr
/// @param parent
/// @param child
/// @return
///
int CountMatches(wxString parent,wxString child) {
size_t pos = wxString::npos;
int n = 0;
while ((pos = parent.find(child,pos+1)) != wxString::npos) n++;
return n;
}
/// @brief Make a path relative to reference /// @brief Make a path relative to reference
/// @param _path /// @param _path
/// @param reference /// @param reference

View file

@ -55,10 +55,6 @@ class wxWindow;
/// DOCME /// DOCME
typedef std::vector<std::pair<int,int> > IntPairVector; typedef std::vector<std::pair<int,int> > IntPairVector;
#ifndef __LINUX__
int64_t abs64(int64_t input);
#endif
int CountMatches(wxString parent,wxString child);
wxString MakeRelativePath(wxString path,wxString reference); wxString MakeRelativePath(wxString path,wxString reference);
wxString DecodeRelativePath(wxString path,wxString reference); wxString DecodeRelativePath(wxString path,wxString reference);
wxString AegiFloatToString(double value); wxString AegiFloatToString(double value);