db_bridge/include/console.hpp
author Markus Bröker <mbroeker@largo.dyndns.tv>
Thu, 16 Apr 2009 12:50:39 +0200
changeset 69 b5912e5f899f
parent 65 76514757b0d6
permissions -rw-r--r--
Useless cross_getch hack removed cross_getch provides a version of getch for every os. The Windows Part does not work under wine, but it works on the target platform. committer: Markus Bröker <mbroeker@largo.homelinux.org>

#ifndef CONSOLE_H
#define CONSOLE_H

#ifdef WIN32
#define BS 127
#else
#define BS 127
#endif

#include <iostream>

namespace Console {
    int getch ();
    void getpass (std::string &);
};
#endif