~ubuntu-branches/debian/sid/octave3.0/sid

« back to all changes in this revision

Viewing changes to src/dirfns.h

  • Committer: Bazaar Package Importer
  • Author(s): Rafael Laboissiere
  • Date: 2007-12-23 16:04:15 UTC
  • Revision ID: james.westby@ubuntu.com-20071223160415-n4gk468dihy22e9v
Tags: upstream-3.0.0
ImportĀ upstreamĀ versionĀ 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 
 
3
Copyright (C) 1994, 1995, 1996, 1997, 2000, 2005, 2007 John W. Eaton
 
4
 
 
5
This file is part of Octave.
 
6
 
 
7
Octave is free software; you can redistribute it and/or modify it
 
8
under the terms of the GNU General Public License as published by the
 
9
Free Software Foundation; either version 3 of the License, or (at your
 
10
option) any later version.
 
11
 
 
12
Octave is distributed in the hope that it will be useful, but WITHOUT
 
13
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 
14
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 
15
for more details.
 
16
 
 
17
You should have received a copy of the GNU General Public License
 
18
along with Octave; see the file COPYING.  If not, see
 
19
<http://www.gnu.org/licenses/>.
 
20
 
 
21
*/
 
22
 
 
23
#if !defined (octave_dirfns_h)
 
24
#define octave_dirfns_h 1
 
25
 
 
26
#include <ctime>
 
27
 
 
28
#include <string>
 
29
 
 
30
#include "oct-time.h"
 
31
 
 
32
extern std::string polite_directory_format (const std::string&);
 
33
extern std::string base_pathname (const std::string&);
 
34
extern std::string make_absolute (const std::string&, const std::string&);
 
35
extern std::string get_working_directory (const std::string&);
 
36
 
 
37
// The time we last time we changed directories.
 
38
extern octave_time Vlast_chdir_time;
 
39
 
 
40
#endif
 
41
 
 
42
/*
 
43
;;; Local Variables: ***
 
44
;;; mode: C++ ***
 
45
;;; End: ***
 
46
*/