27 lines
786 B
C++
27 lines
786 B
C++
/*----------------------------------------------------------------------------
|
|
* Copyright (c) TJD Technologies Co., Ltd. 2024. All rights reserved.
|
|
*
|
|
* Description: TjdPhoneContacts.h
|
|
*
|
|
* Author: luziquan@ss-tjd.com
|
|
*
|
|
* Create: 2024-10-29
|
|
*--------------------------------------------------------------------------*/
|
|
|
|
#ifndef TJD_PHONE_CONTACTS_H
|
|
#define TJD_PHONE_CONTACTS_H
|
|
|
|
#include <vector>
|
|
#include <string>
|
|
|
|
struct ContactInfo {
|
|
std::string name;
|
|
std::string number;
|
|
};
|
|
|
|
const std::vector<ContactInfo> &GetContacts(void);
|
|
bool ContactsGetCase(void);
|
|
const ContactInfo *FindContactOfNumber(const unsigned char *number, unsigned char numberLen);
|
|
const ContactInfo *FindContactOfName(const unsigned char *name, unsigned char nameLen);
|
|
|
|
#endif // TJD_PHONE_CONTACTS_H
|