lyx_mirror/src/support/userinfo.h
Pavel Sanda 4ce24954aa Strip gecos on Unix systems on user name only.
Patch from Scott Kostyshak.
2012-05-06 13:36:54 +02:00

31 lines
569 B
C++

// -*- C++ -*-
/**
* \file userinfo.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author John Levon
*
* Full author contact details are available in file CREDITS.
*/
#ifndef USERINFO_H
#define USERINFO_H
#include "support/strfwd.h"
namespace lyx {
namespace support {
/// return the current user's real name or user name
docstring const user_name();
/// return the current user's e-mail address
docstring const user_email();
} // namespace support
} // namespace lyx
#endif // USERINFO_H