Back to index

texmacs  1.0.7.15
Defines | Functions
drd_mode.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define DRD_ACCESS_NORMAL   0
#define DRD_ACCESS_HIDDEN   1
#define DRD_ACCESS_SOURCE   2
#define DRD_WRITABLE_NORMAL   0
#define DRD_WRITABLE_INPUT   1
#define DRD_WRITABLE_ANY   2

Functions

int set_access_mode (int mode)
int get_access_mode ()
int set_writable_mode (int mode)
int get_writable_mode ()

Define Documentation

#define DRD_ACCESS_HIDDEN   1

Definition at line 16 of file drd_mode.hpp.

#define DRD_ACCESS_NORMAL   0

Definition at line 15 of file drd_mode.hpp.

#define DRD_ACCESS_SOURCE   2

Definition at line 17 of file drd_mode.hpp.

#define DRD_WRITABLE_ANY   2

Definition at line 21 of file drd_mode.hpp.

#define DRD_WRITABLE_INPUT   1

Definition at line 20 of file drd_mode.hpp.

#define DRD_WRITABLE_NORMAL   0

Definition at line 19 of file drd_mode.hpp.


Function Documentation

int get_access_mode ( )

Definition at line 25 of file drd_mode.cpp.

                   {
  return drd_access_mode;
}

Here is the caller graph for this function:

Definition at line 37 of file drd_mode.cpp.

                     {
  return drd_writable_mode;
}

Here is the caller graph for this function:

int set_access_mode ( int  mode)

Definition at line 18 of file drd_mode.cpp.

                           {
  int old_mode= drd_access_mode;
  drd_access_mode= mode;
  return old_mode;
}

Here is the caller graph for this function:

int set_writable_mode ( int  mode)

Definition at line 30 of file drd_mode.cpp.

                             {
  int old_mode= drd_writable_mode;
  drd_writable_mode= mode;
  return old_mode;
}

Here is the caller graph for this function: