summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYeongjong Lee <yj34.lee@samsung.com>2019-10-17 14:36:15 -0300
committerLauro Moura <lauromoura@expertisesolutions.com.br>2019-10-17 14:38:30 -0300
commit0eb180b3aba4fa363ddf5797f67168a7f9865a04 (patch)
tree74c29d32554486ee0107e09a410a27e0baaf7b55 /src
parentcfa8baa152625a75eee6b288f111b0d9bc790e5a (diff)
mono: add static modifier to static holder types.
Summary: This patch will fix CA1052 compiler warnings. Test Plan: meson setup -Dbindings=mono,cxx -Dmono-beta=true Reviewers: lauromoura, Jaehyun_Cho Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10434
Diffstat (limited to 'src')
-rw-r--r--src/bindings/mono/efl_mono/efl_libs.cs.in2
-rw-r--r--src/bindings/mono/eina_mono/eina_config.cs2
-rw-r--r--src/bindings/mono/eina_mono/eina_log.cs4
-rw-r--r--src/bindings/mono/eldbus_mono/eldbus_common.cs34
-rw-r--r--src/bindings/mono/eo_mono/FunctionWrapper.cs2
-rw-r--r--src/bindings/mono/eo_mono/FunctionWrapper_Unix.cs2
-rw-r--r--src/bindings/mono/eo_mono/FunctionWrapper_Windows.cs2
-rw-r--r--src/bindings/mono/eo_mono/iwrapper.cs2
8 files changed, 25 insertions, 25 deletions
diff --git a/src/bindings/mono/efl_mono/efl_libs.cs.in b/src/bindings/mono/efl_mono/efl_libs.cs.in
index 87aee83..9626c06 100644
--- a/src/bindings/mono/efl_mono/efl_libs.cs.in
+++ b/src/bindings/mono/efl_mono/efl_libs.cs.in
@@ -5,7 +5,7 @@ namespace efl {
5/// <summary> 5/// <summary>
6/// Define the name of the libraries to be passed to DllImport statements. 6/// Define the name of the libraries to be passed to DllImport statements.
7/// </summary> 7/// </summary>
8public class Libs { 8public static class Libs {
9 public const string Efl = "@EFL_DL_MONO@"; 9 public const string Efl = "@EFL_DL_MONO@";
10 public const string Ecore = "@ECORE_DL_MONO@"; 10 public const string Ecore = "@ECORE_DL_MONO@";
11 public const string Eina = "@EINA_DL_MONO@"; 11 public const string Eina = "@EINA_DL_MONO@";
diff --git a/src/bindings/mono/eina_mono/eina_config.cs b/src/bindings/mono/eina_mono/eina_config.cs
index 833b7d5..e9efea3 100644
--- a/src/bindings/mono/eina_mono/eina_config.cs
+++ b/src/bindings/mono/eina_mono/eina_config.cs
@@ -11,7 +11,7 @@ namespace Eina
11/// Manage the initialization and cleanup for eina. 11/// Manage the initialization and cleanup for eina.
12/// <para>Since EFL 1.23.</para> 12/// <para>Since EFL 1.23.</para>
13/// </summary> 13/// </summary>
14public class Config 14public static class Config
15{ 15{
16 [DllImport(efl.Libs.Eina)] private static extern int eina_init(); 16 [DllImport(efl.Libs.Eina)] private static extern int eina_init();
17 [DllImport(efl.Libs.Eina)] private static extern int eina_shutdown(); 17 [DllImport(efl.Libs.Eina)] private static extern int eina_shutdown();
diff --git a/src/bindings/mono/eina_mono/eina_log.cs b/src/bindings/mono/eina_mono/eina_log.cs
index ca9ee12..4d67bbb 100644
--- a/src/bindings/mono/eina_mono/eina_log.cs
+++ b/src/bindings/mono/eina_mono/eina_log.cs
@@ -12,7 +12,7 @@ namespace Eina
12/// <summary>EFL Logging facilities. 12/// <summary>EFL Logging facilities.
13/// <para>Since EFL 1.23.</para> 13/// <para>Since EFL 1.23.</para>
14/// </summary> 14/// </summary>
15public class Log 15public static class Log
16{ 16{
17 [DllImport(efl.Libs.Eina)] private static extern void eina_log_print( 17 [DllImport(efl.Libs.Eina)] private static extern void eina_log_print(
18 int domain, 18 int domain,
@@ -64,7 +64,7 @@ public class Log
64 /// <summary>The colors to be used by the logging system. 64 /// <summary>The colors to be used by the logging system.
65 /// <para>Since EFL 1.23.</para> 65 /// <para>Since EFL 1.23.</para>
66 /// </summary> 66 /// </summary>
67 public class Color 67 public static class Color
68 { 68 {
69 /// <summary>Light red 69 /// <summary>Light red
70 /// <para>Since EFL 1.23.</para> 70 /// <para>Since EFL 1.23.</para>
diff --git a/src/bindings/mono/eldbus_mono/eldbus_common.cs b/src/bindings/mono/eldbus_mono/eldbus_common.cs
index 99a7aef..34f6482 100644
--- a/src/bindings/mono/eldbus_mono/eldbus_common.cs
+++ b/src/bindings/mono/eldbus_mono/eldbus_common.cs
@@ -163,7 +163,7 @@ public static class Argument
163 /// The type of a byte. 163 /// The type of a byte.
164 /// <para>Since EFL 1.23.</para> 164 /// <para>Since EFL 1.23.</para>
165 /// </summary> 165 /// </summary>
166 public class ByteType 166 public static class ByteType
167 { 167 {
168 /// <summary> 168 /// <summary>
169 /// The code of the byte. 169 /// The code of the byte.
@@ -181,7 +181,7 @@ public static class Argument
181 /// The type of a boolean 181 /// The type of a boolean
182 /// <para>Since EFL 1.23.</para> 182 /// <para>Since EFL 1.23.</para>
183 /// </summary> 183 /// </summary>
184 public class BooleanType 184 public static class BooleanType
185 { 185 {
186 /// <summary> 186 /// <summary>
187 /// The code of the boolean. 187 /// The code of the boolean.
@@ -199,7 +199,7 @@ public static class Argument
199 /// The type of a Int16. 199 /// The type of a Int16.
200 /// <para>Since EFL 1.23.</para> 200 /// <para>Since EFL 1.23.</para>
201 /// </summary> 201 /// </summary>
202 public class Int16Type 202 public static class Int16Type
203 { 203 {
204 /// <summary> 204 /// <summary>
205 /// The code of the Int16. 205 /// The code of the Int16.
@@ -217,7 +217,7 @@ public static class Argument
217 /// The type of an unsigned Int16. 217 /// The type of an unsigned Int16.
218 /// <para>Since EFL 1.23.</para> 218 /// <para>Since EFL 1.23.</para>
219 /// </summary> 219 /// </summary>
220 public class UInt16Type 220 public static class UInt16Type
221 { 221 {
222 /// <summary> 222 /// <summary>
223 /// The code of the unsigned Int16. 223 /// The code of the unsigned Int16.
@@ -235,7 +235,7 @@ public static class Argument
235 /// The type of a Int32. 235 /// The type of a Int32.
236 /// <para>Since EFL 1.23.</para> 236 /// <para>Since EFL 1.23.</para>
237 /// </summary> 237 /// </summary>
238 public class Int32Type 238 public static class Int32Type
239 { 239 {
240 /// <summary> 240 /// <summary>
241 /// The code of the Int32. 241 /// The code of the Int32.
@@ -253,7 +253,7 @@ public static class Argument
253 /// The type of an unsigned Int32. 253 /// The type of an unsigned Int32.
254 /// <para>Since EFL 1.23.</para> 254 /// <para>Since EFL 1.23.</para>
255 /// </summary> 255 /// </summary>
256 public class UInt32Type 256 public static class UInt32Type
257 { 257 {
258 /// <summary> 258 /// <summary>
259 /// The code of the unsigned Int32. 259 /// The code of the unsigned Int32.
@@ -271,7 +271,7 @@ public static class Argument
271 /// The type of a Int64. 271 /// The type of a Int64.
272 /// <para>Since EFL 1.23.</para> 272 /// <para>Since EFL 1.23.</para>
273 /// </summary> 273 /// </summary>
274 public class Int64Type 274 public static class Int64Type
275 { 275 {
276 /// <summary> 276 /// <summary>
277 /// The code of the Int64. 277 /// The code of the Int64.
@@ -289,7 +289,7 @@ public static class Argument
289 /// The type of an unsigned Int64. 289 /// The type of an unsigned Int64.
290 /// <para>Since EFL 1.23.</para> 290 /// <para>Since EFL 1.23.</para>
291 /// </summary> 291 /// </summary>
292 public class UInt64Type 292 public static class UInt64Type
293 { 293 {
294 /// <summary> 294 /// <summary>
295 /// The code of the unsigned Int64. 295 /// The code of the unsigned Int64.
@@ -307,7 +307,7 @@ public static class Argument
307 /// The type of the double. 307 /// The type of the double.
308 /// <para>Since EFL 1.23.</para> 308 /// <para>Since EFL 1.23.</para>
309 /// </summary> 309 /// </summary>
310 public class DoubleType 310 public static class DoubleType
311 { 311 {
312 /// <summary> 312 /// <summary>
313 /// The code of the double. 313 /// The code of the double.
@@ -325,7 +325,7 @@ public static class Argument
325 /// The type of a string. 325 /// The type of a string.
326 /// <para>Since EFL 1.23.</para> 326 /// <para>Since EFL 1.23.</para>
327 /// </summary> 327 /// </summary>
328 public class StringType 328 public static class StringType
329 { 329 {
330 /// <summary> 330 /// <summary>
331 /// The code of the string. 331 /// The code of the string.
@@ -343,7 +343,7 @@ public static class Argument
343 /// The type of an object path. 343 /// The type of an object path.
344 /// <para>Since EFL 1.23.</para> 344 /// <para>Since EFL 1.23.</para>
345 /// </summary> 345 /// </summary>
346 public class ObjectPathType 346 public static class ObjectPathType
347 { 347 {
348 /// <summary> 348 /// <summary>
349 /// The code of the object path. 349 /// The code of the object path.
@@ -361,7 +361,7 @@ public static class Argument
361 /// The type of a signature. 361 /// The type of a signature.
362 /// <para>Since EFL 1.23.</para> 362 /// <para>Since EFL 1.23.</para>
363 /// </summary> 363 /// </summary>
364 public class SignatureType 364 public static class SignatureType
365 { 365 {
366 /// <summary> 366 /// <summary>
367 /// The code of the signature. 367 /// The code of the signature.
@@ -379,7 +379,7 @@ public static class Argument
379 /// The type of a array. 379 /// The type of a array.
380 /// <para>Since EFL 1.23.</para> 380 /// <para>Since EFL 1.23.</para>
381 /// </summary> 381 /// </summary>
382 public class ArrayType 382 public static class ArrayType
383 { 383 {
384 /// <summary> 384 /// <summary>
385 /// The code of the array. 385 /// The code of the array.
@@ -397,7 +397,7 @@ public static class Argument
397 /// The type of a struct. 397 /// The type of a struct.
398 /// <para>Since EFL 1.23.</para> 398 /// <para>Since EFL 1.23.</para>
399 /// </summary> 399 /// </summary>
400 public class StructType 400 public static class StructType
401 { 401 {
402 /// <summary> 402 /// <summary>
403 /// The code of the struct. 403 /// The code of the struct.
@@ -415,7 +415,7 @@ public static class Argument
415 /// The type of a variant. 415 /// The type of a variant.
416 /// <para>Since EFL 1.23.</para> 416 /// <para>Since EFL 1.23.</para>
417 /// </summary> 417 /// </summary>
418 public class VariantType 418 public static class VariantType
419 { 419 {
420 /// <summary> 420 /// <summary>
421 /// The code of the variant. 421 /// The code of the variant.
@@ -433,7 +433,7 @@ public static class Argument
433 /// The type of a dictionary. 433 /// The type of a dictionary.
434 /// <para>Since EFL 1.23.</para> 434 /// <para>Since EFL 1.23.</para>
435 /// </summary> 435 /// </summary>
436 public class DictEntryType 436 public static class DictEntryType
437 { 437 {
438 /// <summary> 438 /// <summary>
439 /// The code of the dictionary. 439 /// The code of the dictionary.
@@ -451,7 +451,7 @@ public static class Argument
451 /// The type of an unix file descriptor. 451 /// The type of an unix file descriptor.
452 /// <para>Since EFL 1.23.</para> 452 /// <para>Since EFL 1.23.</para>
453 /// </summary> 453 /// </summary>
454 public class UnixFdType 454 public static class UnixFdType
455 { 455 {
456 /// <summary> 456 /// <summary>
457 /// The code of unix fd. 457 /// The code of unix fd.
diff --git a/src/bindings/mono/eo_mono/FunctionWrapper.cs b/src/bindings/mono/eo_mono/FunctionWrapper.cs
index 11560bd..1ea2097 100644
--- a/src/bindings/mono/eo_mono/FunctionWrapper.cs
+++ b/src/bindings/mono/eo_mono/FunctionWrapper.cs
@@ -12,7 +12,7 @@ namespace Eo
12///This class has a platform-dependent implementation on whether it 12///This class has a platform-dependent implementation on whether it
13///is compiled for Windows (using LoadLibrary/GetProcAddress) or Unix 13///is compiled for Windows (using LoadLibrary/GetProcAddress) or Unix
14///(dlopen/dlsym).</summary> 14///(dlopen/dlsym).</summary>
15public partial class FunctionInterop 15public static partial class FunctionInterop
16{ 16{
17 ///<summary>Loads a function pointer from the given module.</summary> 17 ///<summary>Loads a function pointer from the given module.</summary>
18 ///<param name="moduleName">The name of the module containing the function.</param> 18 ///<param name="moduleName">The name of the module containing the function.</param>
diff --git a/src/bindings/mono/eo_mono/FunctionWrapper_Unix.cs b/src/bindings/mono/eo_mono/FunctionWrapper_Unix.cs
index 65ae60b..0069fc6 100644
--- a/src/bindings/mono/eo_mono/FunctionWrapper_Unix.cs
+++ b/src/bindings/mono/eo_mono/FunctionWrapper_Unix.cs
@@ -7,7 +7,7 @@ namespace Efl
7namespace Eo 7namespace Eo
8{ 8{
9 9
10public partial class FunctionInterop 10public static partial class FunctionInterop
11{ 11{
12 [DllImport(efl.Libs.Libdl)] 12 [DllImport(efl.Libs.Libdl)]
13 private static extern IntPtr dlsym(IntPtr handle, string symbol); 13 private static extern IntPtr dlsym(IntPtr handle, string symbol);
diff --git a/src/bindings/mono/eo_mono/FunctionWrapper_Windows.cs b/src/bindings/mono/eo_mono/FunctionWrapper_Windows.cs
index dcf2091..7eda66a 100644
--- a/src/bindings/mono/eo_mono/FunctionWrapper_Windows.cs
+++ b/src/bindings/mono/eo_mono/FunctionWrapper_Windows.cs
@@ -7,7 +7,7 @@ namespace Efl
7namespace Eo 7namespace Eo
8{ 8{
9 9
10public partial class FunctionInterop 10public static partial class FunctionInterop
11{ 11{
12 [DllImport(efl.Libs.Libdl)] 12 [DllImport(efl.Libs.Libdl)]
13 public static extern IntPtr GetProcAddress(IntPtr handle, string symbol); 13 public static extern IntPtr GetProcAddress(IntPtr handle, string symbol);
diff --git a/src/bindings/mono/eo_mono/iwrapper.cs b/src/bindings/mono/eo_mono/iwrapper.cs
index d1aa7be..676bcef 100644
--- a/src/bindings/mono/eo_mono/iwrapper.cs
+++ b/src/bindings/mono/eo_mono/iwrapper.cs
@@ -17,7 +17,7 @@ namespace Efl
17namespace Eo 17namespace Eo
18{ 18{
19 19
20public class Globals 20public static class Globals
21{ 21{
22 /// <summary>Represents the type of the native Efl_Class.</summary> 22 /// <summary>Represents the type of the native Efl_Class.</summary>
23 public enum EflClassType 23 public enum EflClassType