2014-12-01 23:55:08 +01:00
|
|
|
|
// swad_preference.h: user's preferences
|
|
|
|
|
|
2015-03-14 17:39:04 +01:00
|
|
|
|
#ifndef _SWAD_PRE
|
|
|
|
|
#define _SWAD_PRE
|
2014-12-01 23:55:08 +01:00
|
|
|
|
/*
|
|
|
|
|
SWAD (Shared Workspace At a Distance in Spanish),
|
|
|
|
|
is a web platform developed at the University of Granada (Spain),
|
|
|
|
|
and used to support university teaching.
|
|
|
|
|
|
|
|
|
|
This file is part of SWAD core.
|
2017-01-13 01:51:23 +01:00
|
|
|
|
Copyright (C) 1999-2017 Antonio Ca<EFBFBD>as Vargas
|
2014-12-01 23:55:08 +01:00
|
|
|
|
|
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
|
|
|
it under the terms of the GNU Affero General Public License as
|
|
|
|
|
published by the Free Software Foundation, either version 3 of the
|
|
|
|
|
License, or (at your option) any later version.
|
|
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
GNU Affero General Public License for more details.
|
|
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Affero General Public License
|
|
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
*/
|
|
|
|
|
/*****************************************************************************/
|
|
|
|
|
/********************************* Headers ***********************************/
|
|
|
|
|
/*****************************************************************************/
|
|
|
|
|
|
|
|
|
|
/*****************************************************************************/
|
|
|
|
|
/***************************** Public constants ******************************/
|
|
|
|
|
/*****************************************************************************/
|
|
|
|
|
|
|
|
|
|
/*****************************************************************************/
|
|
|
|
|
/******************************* Public types ********************************/
|
|
|
|
|
/*****************************************************************************/
|
|
|
|
|
|
|
|
|
|
/*****************************************************************************/
|
|
|
|
|
/***************************** Public prototypes *****************************/
|
|
|
|
|
/*****************************************************************************/
|
|
|
|
|
|
2015-03-14 17:39:04 +01:00
|
|
|
|
void Pre_EditPrefs (void);
|
2014-12-01 23:55:08 +01:00
|
|
|
|
|
2015-03-14 17:39:04 +01:00
|
|
|
|
void Pre_GetPrefsFromIP (void);
|
|
|
|
|
void Pre_SetPrefsFromIP (void);
|
|
|
|
|
void Pre_RemoveOldPrefsFromIP (void);
|
2014-12-01 23:55:08 +01:00
|
|
|
|
|
2016-02-29 16:22:11 +01:00
|
|
|
|
void Pre_PutLinkToChangeLanguage (void);
|
2015-03-14 17:39:04 +01:00
|
|
|
|
void Pre_PutSelectorToSelectLanguage (void);
|
|
|
|
|
void Pre_AskChangeLanguage (void);
|
|
|
|
|
void Pre_ChangeLanguage (void);
|
2015-12-07 23:13:08 +01:00
|
|
|
|
void Pre_UpdateMyLanguageToCurrentLanguage (void);
|
2015-03-14 17:39:04 +01:00
|
|
|
|
Txt_Language_t Pre_GetParamLanguage (void);
|
2014-12-01 23:55:08 +01:00
|
|
|
|
|
2015-03-14 17:39:04 +01:00
|
|
|
|
void Pre_ChangeSideCols (void);
|
|
|
|
|
void Pre_HideLeftCol (void);
|
|
|
|
|
void Pre_HideRightCol (void);
|
|
|
|
|
void Pre_ShowLeftCol (void);
|
|
|
|
|
void Pre_ShowRightCol (void);
|
|
|
|
|
unsigned Pre_GetParamSideCols (void);
|
2014-12-01 23:55:08 +01:00
|
|
|
|
|
|
|
|
|
#endif
|