ipersistentmanager.cs

来自「破解的飞信源代码」· CS 代码 · 共 68 行

CS
68
字号
namespace Imps.Client
{
    using Imps.Common;
    using System;
    using System.Drawing;
    using System.Runtime.InteropServices;

    public interface IPersistentManager
    {
        void DelById(string userId);
        void DelChatHistoryById(string userId);
        void DelContactsInfoById(string userId);
        void DelPermissionById(string userId);
        void DelPluginsCfgById(string userId);
        void DelPortraitsById(string userId);
        void DelUserCfgById(string userId);
        void DelUserInfoById(string userId);
        void LoadAccountsData(PersistentDelegate load);
        void LoadById(long userId);
        void LoadContacts(PersistentDelegate load);
        void LoadImpsUserConfig(PersistentDelegate load);
        void LoadPermissions(PersistentDelegate load);
        void LoadPersonalGroupCategorys(PersistentDelegate load);
        void LoadPersonalGroups(PersistentDelegate load);
        void LoadPluginData(string pluginName, PersistentDelegate load);
        Image LoadPortrait(IicUri uri, out int crc);
        void LoadRecentBuddies(PersistentDelegate load);
        void LoadScheduleSmses(PersistentDelegate load);
        void LoadSubscribedServiceInfos(PersistentDelegate load);
        void LoadSystemConfig(PersistentDelegate load);
        void LoadUserInfo(PersistentDelegate load);
        void LoadWindowsUserCfg(PersistentDelegate load);
        void SaveContacts(PersistentDelegate save);
        void SaveImpsUserConfig(PersistentDelegate save);
        void SaveLocalAccountsData(PersistentDelegate save);
        void SavePermissions(PersistentDelegate save);
        void SavePersonalGroupCategorys(PersistentDelegate save);
        void SavePersonalGroups(PersistentDelegate save);
        void SavePluginData(string pluginName, PersistentDelegate save);
        bool SavePortrait(IicUri uri, Image portrait, int crc);
        void SaveRecentBuddies(PersistentDelegate save);
        void SaveScheduleSmses(PersistentDelegate save);
        void SaveSubscribedServiceInfos(PersistentDelegate save);
        void SaveSystemConfig(PersistentDelegate save);
        void SaveUserInfo(PersistentDelegate save);
        void SaveWindowsUserCfg(PersistentDelegate save);

        string BaseDirForCurrentPortrait { get; }

        string BaseDirForGroupPortrait { get; }

        string BaseDirForHistory { get; set; }

        string BaseDirForImps { get; }

        string BaseDirForMyUsedPortrait { get; }

        string BaseDirForPortrait { get; }

        string BaseDirForWindows { get; }

        string TempDir { get; }

        long UserId { get; }
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?