File indexing completed on 2024-04-21 04:56:57

0001 /**
0002  * SPDX-FileCopyrightText: 2020 Jiří Wolker <woljiri@gmail.com>
0003  *
0004  * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0005  */
0006 
0007 #ifndef CHARCOUNT_H
0008 #define CHARCOUNT_H
0009 
0010 class SmsCharCount
0011 {
0012 public:
0013     /**
0014      * Number of octets in current message.
0015      */
0016     qint32 octets;
0017 
0018     /**
0019      * Bits per character (7, 8 or 16).
0020      */
0021     qint32 bitsPerChar;
0022 
0023     /**
0024      * Number of chars remaining in current SMS.
0025      */
0026     qint32 remaining;
0027 
0028     /**
0029      * Count of SMSes in concatenated SMS.
0030      */
0031     qint32 messages;
0032 
0033     SmsCharCount(){};
0034     ~SmsCharCount(){};
0035 };
0036 
0037 #endif // CHARCOUNT_H