espanso/espanso-info/src/cocoa/native.h
2021-03-21 10:57:08 +01:00

29 lines
1.0 KiB
C

/*
* This file is part of espanso.
*
* Copyright (C) 2019-2021 Federico Terzi
*
* espanso is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* espanso 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with espanso. If not, see <https://www.gnu.org/licenses/>.
*/
#ifndef ESPANSO_INFO_H
#define ESPANSO_INFO_H
#include <stdint.h>
extern "C" int32_t info_get_title(char * buffer, int32_t buffer_size);
extern "C" int32_t info_get_exec(char * buffer, int32_t buffer_size);
extern "C" int32_t info_get_class(char * buffer, int32_t buffer_size);
#endif //ESPANSO_INFO_H