swad-core/swad_match_result.h

56 lines
2.2 KiB
C
Raw Normal View History

2019-09-28 02:31:42 +02:00
// swad_match_result.h: matches results in games using remote control
#ifndef _SWAD_MCR
#define _SWAD_MCR
/*
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.
2020-01-01 14:53:57 +01:00
Copyright (C) 1999-2020 Antonio Ca<EFBFBD>as Vargas
2019-09-28 02:31:42 +02: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 types and constants ***********************/
/*****************************************************************************/
2019-12-09 11:09:12 +01:00
#define McR_RESULTS_BOX_ID "mcr_box"
2019-12-08 14:14:29 +01:00
#define McR_RESULTS_TABLE_ID "mcr_table"
2019-09-28 02:31:42 +02:00
/*****************************************************************************/
/***************************** Public prototypes *****************************/
/*****************************************************************************/
2019-12-08 23:19:16 +01:00
void McR_SelUsrsToViewMchResults (void);
2019-12-08 13:34:12 +01:00
2019-12-08 23:19:16 +01:00
void McR_ShowMyMchResultsInCrs (void);
void McR_ShowMyMchResultsInGam (void);
void McR_ShowMyMchResultsInMch (void);
void McR_ShowAllMchResultsInCrs (void);
void McR_ShowAllMchResultsInGam (void);
void McR_ShowAllMchResultsInMch (void);
2019-12-08 13:34:12 +01:00
2019-09-30 01:26:19 +02:00
void McR_ShowOneMchResult (void);
void McR_GetMatchResultQuestionsFromDB (long MchCod,long UsrCod,
2020-03-23 21:40:17 +01:00
struct TsR_Result *Result);
2019-09-28 02:31:42 +02:00
#endif