mirror of https://github.com/quasar/Quasar.git
Refactored class access modifiers
This commit is contained in:
parent
e3ad2f0716
commit
2544f3a230
|
@ -1,8 +1,11 @@
|
|||
using System;
|
||||
#if !DEBUG
|
||||
using xClient.Core.Encryption;
|
||||
#endif
|
||||
|
||||
namespace xClient.Config
|
||||
{
|
||||
public class Settings
|
||||
public static class Settings
|
||||
{
|
||||
#if DEBUG
|
||||
public static string VERSION = "1.0.0.0d";
|
||||
|
|
|
@ -12,7 +12,7 @@ using xClient.Core.RemoteShell;
|
|||
|
||||
namespace xClient.Core.Commands
|
||||
{
|
||||
public class CommandHandler
|
||||
public static class CommandHandler
|
||||
{
|
||||
[DllImport("kernel32.dll", CharSet = CharSet.Unicode, SetLastError = true)]
|
||||
[return: MarshalAs(UnmanagedType.Bool)]
|
||||
|
|
|
@ -5,7 +5,7 @@ using System.Text;
|
|||
|
||||
namespace xClient.Core.Encryption
|
||||
{
|
||||
class AES
|
||||
public static class AES
|
||||
{
|
||||
private const int IVLENGTH = 16;
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ using System.Text.RegularExpressions;
|
|||
|
||||
namespace xClient.Core
|
||||
{
|
||||
class GeoIP
|
||||
public class GeoIP
|
||||
{
|
||||
public string WANIP { get; private set; }
|
||||
public string Country { get; private set; }
|
||||
|
|
|
@ -5,7 +5,7 @@ using System.Windows.Forms;
|
|||
|
||||
namespace xClient.Core.Helper
|
||||
{
|
||||
class Helper
|
||||
public static class Helper
|
||||
{
|
||||
private const string CHARS = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
||||
private static Random _rnd = new Random(Environment.TickCount);
|
||||
|
|
|
@ -13,7 +13,7 @@ using xClient.Config;
|
|||
|
||||
namespace xClient.Core
|
||||
{
|
||||
class SystemCore
|
||||
public static class SystemCore
|
||||
{
|
||||
[DllImport("user32.dll")]
|
||||
static extern bool GetLastInputInfo(ref LASTINPUTINFO plii);
|
||||
|
|
|
@ -6,7 +6,7 @@ using xServer.Core.Encryption;
|
|||
|
||||
namespace xServer.Core.Build
|
||||
{
|
||||
class ClientBuilder
|
||||
public static class ClientBuilder
|
||||
{
|
||||
public static void Build(string output, string host, string password, string installsub, string installname, string mutex, string startupkey, bool install, bool startup, bool hidefile, int port, int reconnectdelay, int installpath, bool adminelevation, string iconpath, string[] asminfo, string version)
|
||||
{
|
||||
|
|
|
@ -4,9 +4,8 @@ using System.Security;
|
|||
|
||||
namespace xServer.Core.Build
|
||||
{
|
||||
public class IconInjector
|
||||
public static class IconInjector
|
||||
{
|
||||
|
||||
// Basically, you can change icons with the UpdateResource api call.
|
||||
// When you make the call you say "I'm updating an icon", and you send the icon data.
|
||||
// The main problem is that ICO files store the icons in one set of structures, and exe/dll files store them in
|
||||
|
|
|
@ -9,7 +9,7 @@ using xServer.Settings;
|
|||
|
||||
namespace xServer.Core.Commands
|
||||
{
|
||||
public class CommandHandler
|
||||
public static class CommandHandler
|
||||
{
|
||||
public static void HandleInitialize(Client client, Initialize packet, frmMain mainForm)
|
||||
{
|
||||
|
|
|
@ -5,7 +5,7 @@ using System.Text;
|
|||
|
||||
namespace xServer.Core.Encryption
|
||||
{
|
||||
class AES
|
||||
public static class AES
|
||||
{
|
||||
private const int IVLENGTH = 16;
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ using System.IO;
|
|||
|
||||
namespace xServer.Core.Helper
|
||||
{
|
||||
class Helper
|
||||
public static class Helper
|
||||
{
|
||||
private const string CHARS = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
||||
private static Random _rnd = new Random(Environment.TickCount);
|
||||
|
|
|
@ -4,7 +4,7 @@ using System.Windows.Forms;
|
|||
|
||||
namespace xServer.Core.Misc
|
||||
{
|
||||
class InputBox
|
||||
public static class InputBox
|
||||
{
|
||||
public static DialogResult Show(string title, string promptText, ref string value)
|
||||
{
|
||||
|
|
|
@ -4,7 +4,7 @@ using System.Windows.Forms;
|
|||
|
||||
namespace xServer.Core.Misc
|
||||
{
|
||||
public class ListViewExtensions
|
||||
public static class ListViewExtensions
|
||||
{
|
||||
[DllImport("user32.dll")]
|
||||
private static extern IntPtr SendMessage(IntPtr hWnd, uint Msg, int wParam, int lParam);
|
||||
|
|
Loading…
Reference in New Issue