mirror of
https://github.com/ksherlock/ample.git
synced 2024-09-28 06:56:18 +00:00
328ab815fb
commit a91a858d68c845f74db106dd21a800c4d09e6e38 Author: Kelvin Sherlock <ksherlock@gmail.com> Date: Sun Mar 7 22:49:42 2021 -0500 listxml utility. commit e52576797da2609e700a12d1ffd7c78e8f1c2b23 Author: Kelvin Sherlock <ksherlock@gmail.com> Date: Sun Mar 7 22:34:00 2021 -0500 update media to use a structure instead of passing around dictionaries. commit 9277a0f720091c386812ac5f84d96080fe6e14f3 Author: Kelvin Sherlock <ksherlock@gmail.com> Date: Sun Mar 7 20:13:27 2021 -0500 media is working again. commit 7c0ac9a973df85fdcdaa978f80905cb9e8532ea5 Author: Kelvin Sherlock <ksherlock@gmail.com> Date: Sun Mar 7 18:46:38 2021 -0500 use new slot objects [WIP] commit 005e2f14d37e7b83ac4ab3e60e7fb794ac8ed651 Author: Kelvin Sherlock <ksherlock@gmail.com> Date: Sun Mar 7 17:33:59 2021 -0500 new slot code to make sub options easier. commit d7f3d9ef75367fad15081789a33212b7cf928fb3 Author: Kelvin Sherlock <ksherlock@gmail.com> Date: Sun Mar 7 17:33:13 2021 -0500 String Interning...
31 lines
543 B
C
31 lines
543 B
C
//
|
|
// Media.h
|
|
// Ample
|
|
//
|
|
// Created by Kelvin Sherlock on 3/7/2021.
|
|
// Copyright © 2021 Kelvin Sherlock. All rights reserved.
|
|
//
|
|
|
|
#ifndef Media_h
|
|
#define Media_h
|
|
|
|
|
|
typedef struct Media {
|
|
unsigned cass;
|
|
unsigned cdrom;
|
|
unsigned hard;
|
|
unsigned floppy_5_25;
|
|
unsigned floppy_3_5;
|
|
unsigned pseudo_disk;
|
|
} Media;
|
|
|
|
struct Media MediaFromDictionary(NSDictionary *);
|
|
|
|
void MediaAdd(Media *dest, const Media *src);
|
|
|
|
BOOL MediaEqual(const Media *lhs, const Media *rhs);
|
|
|
|
extern const Media EmptyMedia;
|
|
|
|
#endif /* Media_h */
|