From 90dac5dd782ee77cff0807247699da51d94eb7c5 Mon Sep 17 00:00:00 2001 From: acanas Date: Thu, 11 Feb 2021 14:40:05 +0100 Subject: [PATCH] Version20.27 --- swad_timeline_post.h | 61 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 swad_timeline_post.h diff --git a/swad_timeline_post.h b/swad_timeline_post.h new file mode 100644 index 000000000..ddafe73ae --- /dev/null +++ b/swad_timeline_post.h @@ -0,0 +1,61 @@ +// swad_timeline_post.h: social timeline posts + +#ifndef _SWAD_TL_PST +#define _SWAD_TL_PST +/* + 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. + Copyright (C) 1999-2021 Antonio Caņas Vargas + + 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 . +*/ +/*****************************************************************************/ +/********************************** Headers **********************************/ +/*****************************************************************************/ +/* +#include "swad_form.h" +#include "swad_media.h" +#include "swad_notification.h" +#include "swad_user.h" +*/ +/*****************************************************************************/ +/****************************** Public constants *****************************/ +/*****************************************************************************/ + +/*****************************************************************************/ +/******************************** Public types *******************************/ +/*****************************************************************************/ + +struct TL_Pst_PostContent + { + char Txt[Cns_MAX_BYTES_LONG_TEXT + 1]; + struct Med_Media Media; + }; + +/*****************************************************************************/ +/****************************** Public prototypes ****************************/ +/*****************************************************************************/ + +void TL_Pst_GetAndWritePost (long PstCod); +void TL_Pst_PutFormToWriteNewPost (struct TL_Timeline *Timeline); + +void TL_Pst_PutTextarea (const char *Placeholder,const char *ClassTextArea); + +void TL_Pst_ReceivePostUsr (void); +void TL_Pst_ReceivePostGbl (void); + +#endif