82 lines
2.6 KiB
C
82 lines
2.6 KiB
C
/***************************************************************************************
|
|
*
|
|
* IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
|
|
*
|
|
* By downloading, copying, installing or using the software you agree to this license.
|
|
* If you do not agree to this license, do not download, install,
|
|
* copy or use the software.
|
|
*
|
|
* Copyright (C) 2014-2022, Happytimesoft Corporation, all rights reserved.
|
|
*
|
|
* Redistribution and use in binary forms, with or without modification, are permitted.
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software distributed
|
|
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
|
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
|
|
* language governing permissions and limitations under the License.
|
|
*
|
|
****************************************************************************************/
|
|
|
|
#include "sys_inc.h"
|
|
#include "gb28181_cfg.h"
|
|
#include <QSize>
|
|
#include <QList>
|
|
|
|
|
|
QString getServerIp();
|
|
int getServerPort();
|
|
QString getServerId();
|
|
QString getServerDomain();
|
|
QString getDeviceId();
|
|
QString getDeviceName();
|
|
QString getPassword();
|
|
int getProtocol();
|
|
int getRegExpires();
|
|
int getHeartbeatInterval();
|
|
int getHeartbeatCount();
|
|
int getVideoFlag();
|
|
int getVideoCodec();
|
|
int getCameraIndex();
|
|
QSize getResolution();
|
|
int getFrameRate();
|
|
int getVideoBitrate();
|
|
int getAudioFlag();
|
|
int getAudioCodec();
|
|
int getSampleRate();
|
|
int getChannel();
|
|
int getAudioBitrate();
|
|
int getLogEnable();
|
|
int getLogLevel();
|
|
int getLocalShowFlag();
|
|
BOOL getChannels(QList<GBCHANNEL> & channels);
|
|
|
|
void saveServerIp(QString value);
|
|
void saveServerPort(int value);
|
|
void saveServerId(QString value);
|
|
void saveServerDomain(QString value);
|
|
void saveDeviceId(QString value);
|
|
void saveDeviceName(QString value);
|
|
void savePassword(QString value);
|
|
void saveProtocol(int value);
|
|
void saveRegExpires(int value);
|
|
void saveHeartbeatInterval(int value);
|
|
void saveHeartbeatCount(int value);
|
|
void saveVideoFlag(int value);
|
|
void saveVideoCodec(int value);
|
|
void saveCameraIndex(int value);
|
|
void saveResolution(QSize value);
|
|
void saveFrameRate(int value);
|
|
void saveVideoBitrate(int value);
|
|
void saveAudioFlag(int value);
|
|
void saveAudioCodec(int value);
|
|
void saveSampleRate(int value);
|
|
void saveChannel(int value);
|
|
void saveAudioBitrate(int value);
|
|
void saveLogEnable(int value);
|
|
void saveLogLevel(int value);
|
|
void saveLocalShowFlag(int value);
|
|
void saveChannels(QList<GBCHANNEL> & channels);
|
|
|
|
|
|
|