Ver código fonte

Added FileReference::FileName().


git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@66 d34b734f-a00e-4b39-a726-e4eeb87269ab
adeniz_1
adeniz 9 anos atrás
pai
commit
57cfcac1e0
2 arquivos alterados com 12 adições e 1 exclusões
  1. 4
    0
      filesystem.cpp
  2. 8
    1
      filesystem.hpp

+ 4
- 0
filesystem.cpp Ver arquivo

@@ -85,6 +85,10 @@ namespace CodeDweller {
}
std::string FileReference::FileName() const {
return name;
}
void FileReference::refresh() {
reset();

+ 8
- 1
filesystem.hpp Ver arquivo

@@ -75,6 +75,13 @@ namespace CodeDweller {
*/
FileReference(std::string fileName);

/** Get the name passed to the constructor.

@returns the name passed to the constructor.

*/
std::string FileName() const;

/** Return timestamp.

@returns the epoch modification time of the file if the file
@@ -107,7 +114,7 @@ namespace CodeDweller {
@returns a fully referenced path to the file if the file
exists. Otherwise, "" is returned.
*/
std:: string FullPath();
std::string FullPath();

/** Refreshes the FileReference object.


Carregando…
Cancelar
Salvar